taskapp/models.py
changeset 52 0b73f0d8e06e
parent 51 89463859712c
child 58 e0ec1901dfce
equal deleted inserted replaced
51:89463859712c 52:0b73f0d8e06e
   124     to = models.ManyToManyField(User, related_name = "%(class)s_to", blank = False)
   124     to = models.ManyToManyField(User, related_name = "%(class)s_to", blank = False)
   125     is_read = models.BooleanField(default = False)
   125     is_read = models.BooleanField(default = False)
   126     sent_date = models.DateTimeField()
   126     sent_date = models.DateTimeField()
   127     sub = models.CharField(max_length = 100)
   127     sub = models.CharField(max_length = 100)
   128     message = models.TextField()
   128     message = models.TextField()
   129     deleted = models.BoolenField(default = False)
   129     deleted = models.BooleanField(default = False)
   130     
   130     
   131 tagging.register(Profile)
   131 tagging.register(Profile)
   132 tagging.register(Task)
   132 tagging.register(Task)