-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Bug] Update django-graphql-jwt==0.1.5
version recommended in the tutorial
#10
Comments
@BonfaceKilz Thanks for reporting the issue, and mentioning about the changelog. Upgrading django-graphql-jwt to v0.2.0, resolved the issue.
|
While following the tutorial, I also installed django-graphql-jwt-0.1.5 (as it is mentioned). In the autentication part, I started getting the middleware errors.
Tried to figure it out and answer suggested "it could be due to different settings variable for middleware in different django versions (MIDDLEWARE and MIDDLEWARE_CLASSES)". Made an update in graphe settings (from MIDDLEWARE TO MIDDLEWARE_CLASSES) and it worked. (haven't checked other impact)
However after checking this issue, I upgraded to pip install django-graphql-jwt==0.2.0 and everything works fine. Please make an update in tutorial. |
In the tutorial, when creating the venv, the recommended version of
django-graphql-jwt
is 0.1.5. This throws some errors when following along with the Authentication bit of the tutorial. From the changelog, the graphene middleware was introduced in v0.2.0.The text was updated successfully, but these errors were encountered: