--- a/pytask/settings.py Sat Jan 08 21:09:07 2011 +0530
+++ b/pytask/settings.py Sat Jan 08 21:11:41 2011 +0530
@@ -91,8 +91,9 @@
'django.contrib.sites',
'django.contrib.messages',
'registration',
- #'tagging',
+ 'tagging',
'pytask.profile',
+ 'pytask.taskapp',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
--- a/pytask/taskapp/models.py Sat Jan 08 21:09:07 2011 +0530
+++ b/pytask/taskapp/models.py Sat Jan 08 21:11:41 2011 +0530
@@ -1,5 +1,8 @@
from django.db import models
+import tagging
+from tagging.fields import TagField
+
STATUS_CHOICES = (
("UP", "Unpublished"),
("OP", "Open"),
@@ -93,3 +96,5 @@
related_name = "%(class)s_deleted_by")
comment_datetime = models.DateTimeField()
is_deleted = models.BooleanField(default=False)
+
+tagging.register(Task)