Merge pull request #83 from paulgueltekin/master

fixed method call with named argument
This commit is contained in:
Jannis Leidel 2017-12-09 23:49:08 +01:00 committed by GitHub
commit 77d8fc4e33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -81,7 +81,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: