reg/models.py
changeset 56 3858a9d0f376
parent 43 757d1da69255
child 102 f9466abf5ca2
equal deleted inserted replaced
55:53ff84c9192d 56:3858a9d0f376
    42     description = models.TextField()
    42     description = models.TextField()
    43     start_date = models.DateField(verbose_name="Start Date")
    43     start_date = models.DateField(verbose_name="Start Date")
    44     stop_date = models.DateField(verbose_name="End Date")
    44     stop_date = models.DateField(verbose_name="End Date")
    45     venue = models.CharField(max_length=100, help_text="College name and city")
    45     venue = models.CharField(max_length=100, help_text="College name and city")
    46 
    46 
    47     feedback_submitted_by = models.ManyToManyField(User, related_name="%(class)s_feedback_submitted_by")
       
    48     attendees = models.ManyToManyField(User, related_name="%(class)s_attendees")
    47     attendees = models.ManyToManyField(User, related_name="%(class)s_attendees")
    49     organizers = models.ManyToManyField(User, related_name="%(class)s_organizers")
    48     organizers = models.ManyToManyField(User, related_name="%(class)s_organizers")
    50     
    49     
    51     registration_is_open = models.BooleanField(default=False)
    50     registration_is_open = models.BooleanField(default=False)
    52     feedback_status = models.CharField(max_length=1, choices=FEEDBACK_CHOICES, default='0')
    51     feedback_status = models.CharField(max_length=1, choices=FEEDBACK_CHOICES, default='0')