reg/forms.py
changeset 43 757d1da69255
parent 22 737ec98cf6df
child 62 b7e47cc39342
equal deleted inserted replaced
42:0f926874a695 43:757d1da69255
    99     """ A form to create an event.
    99     """ A form to create an event.
   100     """
   100     """
   101 
   101 
   102     class Meta:
   102     class Meta:
   103         model = Event
   103         model = Event
   104         fields = ['title', 'description', 'start_date', 'stop_date']
   104         fields = ['title', 'description', 'start_date', 'stop_date', 'venue']
   105 
   105 
   106     def clean_start_date(self):
   106     def clean_start_date(self):
   107         """ see if the start date is greater than today or not.
   107         """ see if the start date is greater than today or not.
   108         """
   108         """
   109 
   109