From 1c9467fa3741f377abefa6774924e3e059c14333 Mon Sep 17 00:00:00 2001 From: Paul Gueltekin Date: Tue, 17 Jan 2017 16:51:06 +0100 Subject: [PATCH] fixed method call with named argument --- dbtemplates/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbtemplates/admin.py b/dbtemplates/admin.py index 14b35f9..1c485b4 100644 --- a/dbtemplates/admin.py +++ b/dbtemplates/admin.py @@ -80,7 +80,7 @@ class TemplateAdminForm(forms.ModelForm): Custom AdminForm to make the content textarea wider. """ content = forms.CharField( - widget=TemplateContentTextArea({'rows': '24'}), + widget=TemplateContentTextArea(attrs={'rows': '24'}), help_text=content_help_text, required=False) class Meta: