diff options
author | hardythe1 | 2012-03-21 19:11:15 +0530 |
---|---|---|
committer | hardythe1 | 2012-03-21 19:11:15 +0530 |
commit | 4884af693bfb0b9bb70ed6b3d8489267a86d90f9 (patch) | |
tree | faa7db2d6e00b4f52640d990305b44c621af52d0 /testapp | |
parent | d6b315e816525ee114a22e1c66a35b5e30e86258 (diff) | |
download | online_test-4884af693bfb0b9bb70ed6b3d8489267a86d90f9.tar.gz online_test-4884af693bfb0b9bb70ed6b3d8489267a86d90f9.tar.bz2 online_test-4884af693bfb0b9bb70ed6b3d8489267a86d90f9.zip |
implemented tagging functionality
Diffstat (limited to 'testapp')
-rw-r--r-- | testapp/exam/models.py | 3 | ||||
-rw-r--r-- | testapp/urls.py | 4 |
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')), +) |