taskapp/models.py
changeset 130 9417ae986d2a
parent 129 e747da8bc110
child 131 85276c5aee5c
--- a/taskapp/models.py	Sat Feb 27 14:22:26 2010 +0530
+++ b/taskapp/models.py	Sat Feb 27 14:38:01 2010 +0530
@@ -183,6 +183,9 @@
     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)