From 3f35f7dd0c79f76518a71f597b96c226d08157fb Mon Sep 17 00:00:00 2001 From: ankitjavalkar Date: Mon, 22 Jun 2015 17:07:13 +0530 Subject: Remove taggit-autocomplete app, make pip compatible Conflicts: testapp/templates/demo_urls.py --- testapp/exam/forms.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'testapp/exam/forms.py') 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\ -- cgit