diff options
Diffstat (limited to 'fossee_manim/forms.py')
-rw-r--r-- | fossee_manim/forms.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fossee_manim/forms.py b/fossee_manim/forms.py index 69f8458..1860bee 100644 --- a/fossee_manim/forms.py +++ b/fossee_manim/forms.py @@ -1,5 +1,7 @@ from django import forms from django.utils import timezone +from taggit.forms import TagWidget + from .models import ( Profile, User, Animation, Comment, AnimationStats @@ -264,6 +266,9 @@ class AnimationProposal(forms.ModelForm): class Meta: model = Animation fields = ['category', 'subcategory', 'title', 'outline', 'tags'] + widgets = { + 'tags': TagWidget(), + } class CommentForm(forms.ModelForm): |