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

Django 1.10 middleware #6

Open
joncombe opened this issue Mar 25, 2017 · 0 comments
Open

Django 1.10 middleware #6

joncombe opened this issue Mar 25, 2017 · 0 comments

Comments

@joncombe
Copy link

Great work, Mr Weber.

I found an issue though, the code isn't currently compatible with the recent change to middleware in Django 1.10.

I'm sorry, I don't have time today to submit a pull request but to fix it, 1) add from django.utils.deprecation import MiddlewareMixin to the top of the middleware.py file and 2) change class JWTAuthMiddleware(object): to class JWTAuthMiddleware(MiddlewareMixin):. That's it. It should be backward compatible but I haven't had chance to test it.

managai added a commit to manax-follow/asymmetric-jwt-auth that referenced this issue May 20, 2017
fix described in issue 6
crgwbr#6
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