required false
This commit is contained in:
parent
ed2b151b5e
commit
34a28a2718
|
@ -27,8 +27,8 @@ GroupEventInline = itf_inlineformset_factory(Event, GroupEvent, form=GroupEventF
|
|||
|
||||
class EventForm(ItfForm):
|
||||
inlines = [PersonEventInline, GroupEventInline, BuzzItemsInline]
|
||||
parent_event = forms.ModelChoiceField(Event.objects.all(), widget=AutocompleteAddWidget(model_class=Event))
|
||||
production = forms.ModelChoiceField(Production.objects.all(), widget=AutocompleteAddWidget(model_class=Production))
|
||||
parent_event = forms.ModelChoiceField(Event.objects.all(), required=False, widget=AutocompleteAddWidget(model_class=Event))
|
||||
production = forms.ModelChoiceField(Production.objects.all(), required=False, widget=AutocompleteAddWidget(model_class=Production))
|
||||
|
||||
class Meta:
|
||||
model = Event
|
||||
|
|
Loading…
Reference in New Issue
Block a user