taskapp/models.py
changeset 153 925af1b4ee65
parent 131 85276c5aee5c
child 162 d378eff02f2e
--- a/taskapp/models.py	Sun Feb 28 20:49:59 2010 +0530
+++ b/taskapp/models.py	Sun Feb 28 22:49:05 2010 +0530
@@ -127,17 +127,6 @@
     def __unicode__(self):
         return unicode(self.task.title)
 
-class Credit(models.Model):
-    
-    task = models.ForeignKey('Task')
-    given_by = models.ForeignKey(User, related_name = "%(class)s_given_by")
-    given_to = models.ForeignKey(User, related_name = "%(class)s_given_to")
-    points = models.PositiveSmallIntegerField()
-    given_time = models.DateTimeField()
-    
-    def __unicode__(self):
-        return unicode(self.task.title)
-        
 class Claim(models.Model):
     
     task = models.ForeignKey('Task')