summaryrefslogtreecommitdiff
path: root/testapp/exam/forms.py
diff options
context:
space:
mode:
authorPrabhu Ramachandran2015-09-01 13:02:43 +0530
committerPrabhu Ramachandran2015-09-01 13:02:43 +0530
commit44cb800dec3fb81fa084ef59ebe4b54f0b389bc1 (patch)
tree23d0b9e46631906de819a5538c2b36b03ac7250b /testapp/exam/forms.py
parent0225aad1492600ed53504b0986fd13da24c28ae9 (diff)
parentc261ae92e5d4578b4e36c32def862bec4c6692aa (diff)
downloadonline_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.py5
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\