taskapp/models.py
changeset 203 4774f6875a2d
parent 194 e43ceb9c4ec3
child 204 fa1da06d25c9
equal deleted inserted replaced
202:a3ff1b63b4be 203:4774f6875a2d
   172     sent_date = models.DateTimeField()
   172     sent_date = models.DateTimeField()
   173     is_read = models.BooleanField(default = False)
   173     is_read = models.BooleanField(default = False)
   174     is_deleted = models.BooleanField(default = False)
   174     is_deleted = models.BooleanField(default = False)
   175 
   175 
   176     def __unicode__(self):
   176     def __unicode__(self):
   177         return u"%s %s"%(self.sent_to, self.sent_date.ctime())
   177         return u"%s %s %s"%(self.sent_to, self.message, self.sent_date.ctime())
   178     
   178     
   179 tagging.register(Profile)
   179 tagging.register(Profile)
   180 tagging.register(Task)
   180 tagging.register(Task)