equal
deleted
inserted
replaced
41 |
41 |
42 class Feedback(models.Model): |
42 class Feedback(models.Model): |
43 """ A table to hold the feedbacks. |
43 """ A table to hold the feedbacks. |
44 """ |
44 """ |
45 |
45 |
46 user_ip = models.CharField(max_length=15) |
|
47 event = models.ForeignKey(Event, related_name="%(class)s") |
46 event = models.ForeignKey(Event, related_name="%(class)s") |
48 day = models.CharField(max_length=1, default='1') |
47 day = models.CharField(max_length=1, default='1') |
49 |
48 |
50 topics = models.CharField(max_length=1, choices=TOPICS_CHOICES, |
49 topics = models.CharField(max_length=1, choices=TOPICS_CHOICES, |
51 verbose_name="Range of topics covered", blank=True) |
50 verbose_name="Range of topics covered", blank=True) |