summaryrefslogtreecommitdiff
path: root/taskapp/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'taskapp/models.py')
-rw-r--r--taskapp/models.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/taskapp/models.py b/taskapp/models.py
index 65db018..3c8134f 100644
--- a/taskapp/models.py
+++ b/taskapp/models.py
@@ -183,6 +183,9 @@ class Notification(models.Model):
sent_date = models.DateTimeField()
is_read = models.BooleanField(default = False)
is_deleted = models.BooleanField(default = False)
+
+ def __unicode__(self):
+ return u"%s %s"%(self.sent_to, self.sent_date.ctime())
tagging.register(Profile)
tagging.register(Task)