equal
deleted
inserted
replaced
105 task = models.ForeignKey('Task') |
105 task = models.ForeignKey('Task') |
106 data = models.TextField() |
106 data = models.TextField() |
107 created_by = models.ForeignKey(User, related_name = "%(class)s_created_by") |
107 created_by = models.ForeignKey(User, related_name = "%(class)s_created_by") |
108 creation_datetime = models.DateTimeField() |
108 creation_datetime = models.DateTimeField() |
109 deleted_by = models.ForeignKey(User, null = True, blank = True, related_name = "%(class)s_deleted_by") |
109 deleted_by = models.ForeignKey(User, null = True, blank = True, related_name = "%(class)s_deleted_by") |
110 deleted = models.BooleanField() |
110 is_deleted = models.BooleanField() |
111 attachment = models.FileField(upload_to = UPLOADS_DIR, blank = True) |
111 attachment = models.FileField(upload_to = UPLOADS_DIR, blank = True) |
112 |
112 |
113 def __unicode__(self): |
113 def __unicode__(self): |
114 return unicode(self.task.title) |
114 return unicode(self.task.title) |
115 |
115 |