diff options
author | Prabhu Ramachandran | 2015-09-01 13:02:43 +0530 |
---|---|---|
committer | Prabhu Ramachandran | 2015-09-01 13:02:43 +0530 |
commit | 44cb800dec3fb81fa084ef59ebe4b54f0b389bc1 (patch) | |
tree | 23d0b9e46631906de819a5538c2b36b03ac7250b /testapp/exam/forms.py | |
parent | 0225aad1492600ed53504b0986fd13da24c28ae9 (diff) | |
parent | c261ae92e5d4578b4e36c32def862bec4c6692aa (diff) | |
download | online_test-44cb800dec3fb81fa084ef59ebe4b54f0b389bc1.tar.gz online_test-44cb800dec3fb81fa084ef59ebe4b54f0b389bc1.tar.bz2 online_test-44cb800dec3fb81fa084ef59ebe4b54f0b389bc1.zip |
Merge pull request #52 from ankitjavalkar/quickstarter
Quick Start and README changes
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\ |