Update file forms.py
This commit is contained in:
parent
43168e253a
commit
9ca3a71fc3
1 changed files with 1 additions and 0 deletions
|
|
@ -54,6 +54,7 @@ class MultipleFileField(forms.FileField):
|
||||||
)
|
)
|
||||||
return cleaned_file
|
return cleaned_file
|
||||||
|
|
||||||
|
|
||||||
class UploadForm(forms.Form):
|
class UploadForm(forms.Form):
|
||||||
file_field = MultipleFileField(label="")
|
file_field = MultipleFileField(label="")
|
||||||
gallery = forms.ModelChoiceField(
|
gallery = forms.ModelChoiceField(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue