feedback/models.py
changeset 2 c11afa8623f7
parent 1 18dc0362f550
child 5 37e4027fba48
--- a/feedback/models.py	Thu Apr 08 16:35:46 2010 +0530
+++ b/feedback/models.py	Thu Apr 08 22:28:15 2010 +0530
@@ -39,12 +39,11 @@
                      ('3', 'Somewhat instructive'),
                      ('4', 'Not instructive'))
 
-
 class Feedback(models.Model):
     """ A table to hold the feedbacks.
     """
 
-    user = models.ForeignKey(User)
+    user_ip = models.CharField(max_length=15)
     event = models.ForeignKey(Event)
 
     range_of_topics = models.CharField(max_length=1, choices=TOPICS_CHOICES,