equal
deleted
inserted
replaced
94 points = models.PositiveSmallIntegerField() |
94 points = models.PositiveSmallIntegerField() |
95 given_time = models.DateTimeField() |
95 given_time = models.DateTimeField() |
96 |
96 |
97 def __unicode__(self): |
97 def __unicode__(self): |
98 return unicode(self.task.title) |
98 return unicode(self.task.title) |
|
99 |
|
100 class Claim(models.Model): |
99 |
101 |
|
102 task = models.ForeignKey('Task') |
|
103 user = models.ForeignKey(User) |
|
104 message = models.TextField() |
|
105 creation_datetime = models.DateTimeField() |
|
106 |