Commit 225595d470d21a23f917e36fcacd2bbe84fa5dbc
1 parent
16bef476
Exists in
master
and in
3 other branches
Fixing categories summernote field
Showing
4 changed files
with
5 additions
and
0 deletions
Show diff stats
categories/forms.py
@@ -5,4 +5,7 @@ class CategoryForm(forms.ModelForm): | @@ -5,4 +5,7 @@ class CategoryForm(forms.ModelForm): | ||
5 | class Meta: | 5 | class Meta: |
6 | model = Category | 6 | model = Category |
7 | fields = ( 'name', 'description', 'visible', 'coordinators', ) | 7 | fields = ( 'name', 'description', 'visible', 'coordinators', ) |
8 | + widgets = { | ||
9 | + 'description': forms.Textarea, | ||
10 | + } | ||
8 | 11 | ||
9 | \ No newline at end of file | 12 | \ No newline at end of file |
users/templates/users/create.html