We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems Flask-Uploads got outdated. Here is a fix for the error ImportError: cannot import name 'secure_filename' from 'werkzeug':
ImportError: cannot import name 'secure_filename' from 'werkzeug'
https://stackoverflow.com/questions/61628503/flask-uploads-importerror-cannot-import-name-secure-filename
In flask_uploads.py
flask_uploads.py
Change
from werkzeug import secure_filename, FileStorage
to
from werkzeug.utils import secure_filename from werkzeug.datastructures import FileStorage
The text was updated successfully, but these errors were encountered:
Would you like to assign this issue to me
Sorry, something went wrong.
@sidd6p If you want to try your hand at this, that would be really appreciated! A few things to take into consideration:
Let us know if you want to go for it!
No branches or pull requests
It seems Flask-Uploads got outdated. Here is a fix for the error
ImportError: cannot import name 'secure_filename' from 'werkzeug'
:https://stackoverflow.com/questions/61628503/flask-uploads-importerror-cannot-import-name-secure-filename
In
flask_uploads.py
Change
to
The text was updated successfully, but these errors were encountered: