bugfix
This commit is contained in:
parent
1383f65dda
commit
fd53d4095f
4 changed files with 54 additions and 7 deletions
|
|
@ -113,6 +113,7 @@ class UploadForm(forms.Form):
|
|||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
self.helper = FormHelper()
|
||||
self.helper.include_media = False
|
||||
self.helper.use_custom_control = False
|
||||
self.helper.layout = Layout(
|
||||
"file_field",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue