diff options
author | ankitjavalkar | 2015-06-22 17:07:13 +0530 |
---|---|---|
committer | ankitjavalkar | 2015-08-03 15:23:02 +0530 |
commit | 3f35f7dd0c79f76518a71f597b96c226d08157fb (patch) | |
tree | e718f17240f36d111b9bd25c619473d6105351d1 /testapp/exam/forms.py | |
parent | 36d8e3decc13b775e7f464e891e400bc686da4b8 (diff) | |
download | online_test-3f35f7dd0c79f76518a71f597b96c226d08157fb.tar.gz online_test-3f35f7dd0c79f76518a71f597b96c226d08157fb.tar.bz2 online_test-3f35f7dd0c79f76518a71f597b96c226d08157fb.zip |
Remove taggit-autocomplete app, make pip compatible
Conflicts:
testapp/templates/demo_urls.py
Diffstat (limited to 'testapp/exam/forms.py')
-rw-r--r-- | testapp/exam/forms.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/testapp/exam/forms.py b/testapp/exam/forms.py index b7625be..20ed7b4 100644 --- a/testapp/exam/forms.py +++ b/testapp/exam/forms.py @@ -5,9 +5,6 @@ from django.contrib.auth import authenticate from django.contrib.auth.models import User from taggit.managers import TaggableManager from taggit.forms import TagField -from taggit_autocomplete_modified.managers import TaggableManagerAutocomplete -from taggit_autocomplete_modified.widgets import TagAutocomplete -from taggit_autocomplete_modified import settings from django.forms.models import inlineformset_factory from string import letters, punctuation, digits @@ -196,7 +193,7 @@ class QuestionForm(forms.ModelForm): type = forms.CharField(max_length=8, widget=forms.Select\ (choices=question_types)) active = forms.BooleanField(required=False) - tags = TagField(widget=TagAutocomplete(), required=False) + tags = TagField(required=False) snippet = forms.CharField(widget=forms.Textarea\ (attrs={'cols': 40, 'rows': 1}), required=False) ref_code_path = forms.CharField(widget=forms.Textarea\ |