fixed method call with named argument

This commit is contained in:
Paul Gueltekin 2017-01-17 16:51:06 +01:00
parent 49fc6c47ff
commit 1c9467fa37

View file

@ -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: