summaryrefslogtreecommitdiff
path: root/fossee_manim/forms.py
diff options
context:
space:
mode:
authorthedevboy2019-10-03 15:51:32 +0530
committerthedevboy2019-10-03 15:51:32 +0530
commit1151714828cf48b6a496ea7261410a028f306223 (patch)
tree782ec0df010b560a70be8b003283b3c566dbbb2e /fossee_manim/forms.py
parentdd2f35df5bfd31a5d16f5057eaa45d23492c755c (diff)
downloadFOSSEE_animations-1151714828cf48b6a496ea7261410a028f306223.tar.gz
FOSSEE_animations-1151714828cf48b6a496ea7261410a028f306223.tar.bz2
FOSSEE_animations-1151714828cf48b6a496ea7261410a028f306223.zip
Integrity error due to name variable checked
Diffstat (limited to 'fossee_manim/forms.py')
-rw-r--r--fossee_manim/forms.py5
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):