forked from DGNum/gestioCOF
Fix: calendrier
On autorise l'utilisateur à ne pas spécifier les spectacles supplémentaires à ajouter au calendrier.
This commit is contained in:
parent
a2dceb300f
commit
a2fb7143f8
1 changed files with 2 additions and 1 deletions
|
@ -385,7 +385,8 @@ class CalendarForm(forms.ModelForm):
|
||||||
other_shows = forms.ModelMultipleChoiceField(
|
other_shows = forms.ModelMultipleChoiceField(
|
||||||
label="Spectacles supplémentaires.",
|
label="Spectacles supplémentaires.",
|
||||||
queryset=Spectacle.objects.filter(tirage__active=True),
|
queryset=Spectacle.objects.filter(tirage__active=True),
|
||||||
widget=forms.CheckboxSelectMultiple)
|
widget=forms.CheckboxSelectMultiple,
|
||||||
|
required=False)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
model = CalendarSubscription
|
model = CalendarSubscription
|
||||||
|
|
Loading…
Reference in a new issue