taskapp/models.py
changeset 130 9417ae986d2a
parent 129 e747da8bc110
child 131 85276c5aee5c
equal deleted inserted replaced
129:e747da8bc110 130:9417ae986d2a
   181     remarks = models.CharField(max_length = 100)
   181     remarks = models.CharField(max_length = 100)
   182 
   182 
   183     sent_date = models.DateTimeField()
   183     sent_date = models.DateTimeField()
   184     is_read = models.BooleanField(default = False)
   184     is_read = models.BooleanField(default = False)
   185     is_deleted = models.BooleanField(default = False)
   185     is_deleted = models.BooleanField(default = False)
       
   186 
       
   187     def __unicode__(self):
       
   188         return u"%s %s"%(self.sent_to, self.sent_date.ctime())
   186     
   189     
   187 tagging.register(Profile)
   190 tagging.register(Profile)
   188 tagging.register(Task)
   191 tagging.register(Task)