Fix bug in Secretariat MeetingModelForm, exclude was missing a , to be a tuple

- Legacy-Id: 6896
This commit is contained in:
Ole Laursen 2013-12-12 12:12:03 +00:00
parent 12960d9204
commit 9b720d2a70

View file

@ -91,7 +91,7 @@ class TimeChoiceField(forms.ChoiceField):
class MeetingModelForm(forms.ModelForm):
class Meta:
model = Meeting
exclude = ('type')
exclude = ('type',)
def clean_number(self):
number = self.cleaned_data['number']
@ -208,4 +208,4 @@ class UploadBlueSheetForm(forms.Form):
file = self.cleaned_data['file']
if not re.match(r'bluesheets-\d+',file.name):
raise forms.ValidationError('Incorrect filename format')
return file
return file