summaryrefslogtreecommitdiff
path: root/testapp
diff options
context:
space:
mode:
Diffstat (limited to 'testapp')
-rw-r--r--testapp/exam/models.py3
-rw-r--r--testapp/urls.py4
2 files changed, 6 insertions, 1 deletions
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')),
+)