Inventory-Manager icon indicating copy to clipboard operation
Inventory-Manager copied to clipboard

Outdated Werkzeug

Open njbsanchez opened this issue 4 years ago • 0 comments

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

njbsanchez avatar Jul 17 '21 14:07 njbsanchez