Added event items to the event form.

Need to get this working, thinking probably best to serialize the data and submit it that way so changes are only saved on update
This commit is contained in:
Tom Price
2014-12-03 12:13:13 +00:00
parent 1368224be6
commit 5cf73d441c
5 changed files with 17 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ class EventForm(forms.ModelForm):
meet_at = forms.DateTimeField(input_formats=datetime_input_formats, required=False)
access_at = forms.DateTimeField(input_formats=datetime_input_formats, required=False)
name = forms.CharField(min_length=3)
class Meta:
model = models.Event
fields = ['is_rig', 'name', 'venue', 'start_date', 'start_time', 'end_date',