kopia lustrzana https://github.com/wagtail/wagtail
Fixed allowed extensions in multiple image uploader
rodzic
451abb9cc9
commit
ff4b42c38b
|
@ -90,7 +90,7 @@ def add(request):
|
|||
return render(request, 'wagtailimages/multiple/add.html', {
|
||||
'max_filesize': MAX_UPLOAD_SIZE,
|
||||
'help_text': IMAGE_FIELD_HELP_TEXT,
|
||||
'allowed_extensions': SUPPORTED_FORMATS_TEXT,
|
||||
'allowed_extensions': ALLOWED_EXTENSIONS,
|
||||
'error_max_file_size': FILE_TOO_LARGE_ERROR,
|
||||
'error_accepted_file_types': INVALID_IMAGE_ERROR,
|
||||
})
|
||||
|
|
Ładowanie…
Reference in New Issue