event/forms.py
changeset 12 81cd0140a0f2
parent 9 601057af86c2
child 62 baddb55f8da7
equal deleted inserted replaced
11:afc41af983e5 12:81cd0140a0f2
    18 
    18 
    19         if start_date > stop_date:
    19         if start_date > stop_date:
    20             raise forms.ValidationError("Event cannot stop before it starts")
    20             raise forms.ValidationError("Event cannot stop before it starts")
    21 
    21 
    22         return self.cleaned_data['stop_date']
    22         return self.cleaned_data['stop_date']
       
    23