Set the images_file field to non-required in both places

it was set to non-required in the form but not in reality
This commit is contained in:
Naomi 2018-10-04 13:47:31 +01:00
parent a061bbbb06
commit 6220f62af3

View File

@ -95,7 +95,7 @@ class LongCaseStudyForm(BaseCaseStudyForm):
images_files = forms.ModelMultipleChoiceField( images_files = forms.ModelMultipleChoiceField(
queryset=ImageFile.objects.all(), queryset=ImageFile.objects.all(),
widget=CommaSeparatedTextInput(), widget=CommaSeparatedTextInput(),
required=True required=False
) )
official_project_documents = forms.FileField( official_project_documents = forms.FileField(