summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildout.cfg3
-rw-r--r--testapp/exam/models.py3
-rw-r--r--testapp/urls.py4
3 files changed, 9 insertions, 1 deletions
diff --git a/buildout.cfg b/buildout.cfg
index c04ec59..db1c35d 100644
--- a/buildout.cfg
+++ b/buildout.cfg
@@ -3,6 +3,8 @@ parts =
django
eggs =
South
+ django-taggit
+ django-taggit-autocomplete-modified
[versions]
django = 1.3
@@ -17,3 +19,4 @@ eggs =
${buildout:eggs}
extra-paths =
testapp
+
diff --git a/testapp/exam/models.py b/testapp/exam/models.py
index 4931e44..689e931 100644
--- a/testapp/exam/models.py
+++ b/testapp/exam/models.py
@@ -1,7 +1,8 @@
import datetime
from django.db import models
from django.contrib.auth.models import User
-from taggit.managers import TaggableManager
+from taggit_autocomplete_modified.managers import TaggableManagerAutocomplete as TaggableManager
+
################################################################################
class Profile(models.Model):
"""Profile for a user to store roll number and other details."""
diff --git a/testapp/urls.py b/testapp/urls.py
index 4fce4ea..99d69c2 100644
--- a/testapp/urls.py
+++ b/testapp/urls.py
@@ -22,3 +22,7 @@ urlpatterns = patterns('',
url(ADMIN_BASE, include(admin.site.urls)),
)
+
+urlpatterns += patterns('',
+ url(r'^taggit_autocomplete_modified/', include('taggit_autocomplete_modified.urls')),
+)