feedback/models.py
changeset 55 53ff84c9192d
parent 53 0a4b2c49f718
child 62 b7e47cc39342
--- a/feedback/models.py	Thu Apr 15 18:27:38 2010 +0530
+++ b/feedback/models.py	Thu Apr 15 18:57:55 2010 +0530
@@ -64,3 +64,11 @@
     def __unicode__(self):
         
         return unicode(self.event.title)
+
+class FeedLog(models.Model):
+    """ A model to store the days for which a user had submitted feedback.
+    """
+
+    event = models.ForeignKey(Event)
+    user = models.ForeignKey(User)
+    day = models.CharField(max_length=1)