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

Pin werkzeug version to prevent AttributeError: 'Request' object has no attribute 'is_xhr' #190

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

greyli
Copy link

@greyli greyli commented Jan 12, 2021

Originated from this issue in Flask.

The request.is_xhr property was deprecated since Werkzeug 0.13 and removed in Werkzeug 1.0.0. You will get this error when using Flask <= 0.12.4 and Werkzeug >=1.0.0 because Flask uses this property in the source before the 1.0.0 version.

This PR set the version of Werkzeug to 0.12.2 (the initial version in this project).

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

Successfully merging this pull request may close these issues.

1 participant