Fix: calendrier

On autorise l'utilisateur à ne pas spécifier les spectacles
supplémentaires à ajouter au calendrier.
This commit is contained in:
Martin Pépin 2016-08-25 00:19:42 +02:00
parent a2dceb300f
commit a2fb7143f8

View file

@ -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