taskapp/models.py
changeset 21 c28774fe7ffd
parent 18 a39549bd5b08
child 22 36d3173ab7f9
--- a/taskapp/models.py	Thu Feb 04 22:34:22 2010 +0530
+++ b/taskapp/models.py	Thu Feb 04 22:37:15 2010 +0530
@@ -96,4 +96,11 @@
     
     def __unicode__(self):
         return unicode(self.task.title)
+        
+class Claim(models.Model):
     
+    task = models.ForeignKey('Task')
+    user = models.ForeignKey(User)
+    message = models.TextField()
+    creation_datetime = models.DateTimeField()
+