author | Nishanth Amuluru <nishanth@fossee.in> |
Sat, 08 Jan 2011 21:09:07 +0530 | |
changeset 325 | 8f8bd185aacf |
parent 324 | 2f20098f2da3 |
child 326 | 8165274cafa1 |
--- a/pytask/taskapp/models.py Sat Jan 08 21:08:18 2011 +0530 +++ b/pytask/taskapp/models.py Sat Jan 08 21:09:07 2011 +0530 @@ -67,6 +67,7 @@ class WorkReport(models.Model): + uniq_key = models.CharField(max_length = 10, unique = True) task = models.ForeignKey(Task, related_name = "%(class)s_task") submitted_by = models.ForeignKey(User, related_name = "%(class)s_submitted_by")