Fixed allowed extensions in multiple image uploader

pull/676/head
Karl Hobley 2014-10-09 14:18:05 +01:00 zatwierdzone przez Karl Hobley
rodzic 451abb9cc9
commit ff4b42c38b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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,
})