feedback/models.py
changeset 10 c52d170969f0
parent 5 37e4027fba48
child 11 334550460bd7
equal deleted inserted replaced
9:e29ecb7819e7 10:c52d170969f0
    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)
    46     user_ip = models.CharField(max_length=15)
    47     event = models.ForeignKey(Event)
    47     event = models.ForeignKey(Event)
       
    48     day = models.PositiveIntegerField(default=1)
    48 
    49 
    49     range_of_topics = models.CharField(max_length=1, choices=TOPICS_CHOICES,
    50     range_of_topics = models.CharField(max_length=1, choices=TOPICS_CHOICES,
    50                                        verbose_name="Range of topics covered", blank=True)
    51                                        verbose_name="Range of topics covered", blank=True)
    51     depth_of_coverage = models.CharField(max_length=1, choices=DEPTH_CHOICES, blank=True)
    52     depth_of_coverage = models.CharField(max_length=1, choices=DEPTH_CHOICES, blank=True)
    52     effectiveness_of_methodology = models.CharField(max_length=1, choices=METHODOLOGY_CHOICES, blank=True)
    53     effectiveness_of_methodology = models.CharField(max_length=1, choices=METHODOLOGY_CHOICES, blank=True)