Skip to content
New issue

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

Outdated Werkzeug #6

Open
njbsanchez opened this issue Jul 17, 2021 · 0 comments
Open

Outdated Werkzeug #6

njbsanchez opened this issue Jul 17, 2021 · 0 comments

Comments

@njbsanchez
Copy link

Others may not have been able to open your app due to outdated Werkzeug in requirements.txt.

I was able to run the app by changing Werkzeug==0.15.3 >>> Werkzeug==Werkzeug==2.0.1 in requirements.txt.

Alternatively, you can also change the following lines of code to import directly from werkseug.urls:

  • line 9 in Inventory-Manager/env/lib/python3.9/site-packages/flask_wtf/recaptcha/validators.py to
  • line 5 in Inventory-Manager/env/lib/python3.9/site-packages/flask_wtf/recaptcha/widgets.py

from werkzeug.urls import url_encode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant