In examples and documentation, the key FILEUPLOAD_IMG_FOLDER is used to set the folder where to store images.
This doesn't work anymore and the default path is used every time, because this key name has been renamed to FILEUPLOAD_LOCALSTORAGE_IMG_FOLDER in Flask-FileUpload sources, as described in the documentation.
This pull request replaces all FILEUPLOAD_IMG_FOLDER occurrences by FILEUPLOAD_LOCALSTORAGE_IMG_FOLDER.
Also, the folder name is updated to img_upload (instead of fileupload) to avoid confusion with the fileupload route.
In examples and documentation, the key
FILEUPLOAD_IMG_FOLDER
is used to set the folder where to store images.This doesn't work anymore and the default path is used every time, because this key name has been renamed to
FILEUPLOAD_LOCALSTORAGE_IMG_FOLDER
in Flask-FileUpload sources, as described in the documentation.This pull request replaces all
FILEUPLOAD_IMG_FOLDER
occurrences byFILEUPLOAD_LOCALSTORAGE_IMG_FOLDER
.Also, the folder name is updated to
img_upload
(instead offileupload
) to avoid confusion with the fileupload route.