manager: use correct keyword args to set field options (#16191)

This commit is contained in:
Frédéric Péters 2017-05-05 15:56:33 +02:00
parent b181bd8d78
commit 11c9c33629
1 changed files with 3 additions and 1 deletions

View File

@ -77,7 +77,9 @@ class TimePeriodForm(forms.ModelForm):
class ImportEventsForm(forms.Form):
events_csv_file = forms.FileField(_('Events File'),
events_csv_file = forms.FileField(
label=_('Events File'),
required=True,
help_text=_('CSV file with date, time, number of places, '
'number of places in waiting list, and label '
'as columns.'))