mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-16 19:21:10 +00:00
Update forms.py
This commit is contained in:
parent
138b3ba285
commit
c880ef3b84
1 changed files with 1 additions and 3 deletions
|
|
@ -17,9 +17,7 @@ def get_image_form():
|
|||
def get_image_form_for_multi():
|
||||
return modelform_factory(
|
||||
get_image_model(),
|
||||
# set the 'file' widget to a FileInput rather than the default ClearableFileInput
|
||||
# so that when editing, we don't get the 'currently: ...' banner which is
|
||||
# a bit pointless here
|
||||
# exclude the file widget
|
||||
exclude=('file',))
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue