django-rest-framework-jwt icon indicating copy to clipboard operation
django-rest-framework-jwt copied to clipboard

Django 2.0

Open ronaldlangeveld opened this issue 6 years ago • 11 comments

Any plans for Django 2.0 support?

ronaldlangeveld avatar Apr 14 '18 08:04 ronaldlangeveld

It seems to work for me, do you have any problems?

kamilgregorczyk avatar Apr 16 '18 11:04 kamilgregorczyk

If it is compatible with django 2.0, wouldn't be better if the docs could be updated? - #435 #436

joeyworld avatar Apr 16 '18 14:04 joeyworld

I got it working. :D Thanks guys!

ronaldlangeveld avatar Apr 16 '18 18:04 ronaldlangeveld

It doesn't work well with django 2.0. The issue is: failed to overwrite 'JWT_RESPONSE_PAYLOAD_HANDLER' setting. the default is: 'JWT_RESPONSE_PAYLOAD_HANDLER': 'rest_framework_jwt.utils.jwt_response_payload_handler', want to become: 'JWT_RESPONSE_PAYLOAD_HANDLER': 'jwt_response_payload_handler', i put the "def jwt_response_payload_handler" in the same page in the django settings file. I guess it because the different version of Django

budiardy avatar May 20 '18 12:05 budiardy

Any update on support django 2.x? I am now evaluating which JWT auth package use for python 3.x & Django 2.x.

jadhavmanoj avatar Jan 31 '19 07:01 jadhavmanoj

Same here. I tried https://github.com/davesque/django-rest-framework-simplejwt, but this seems to be more widely adopted. Is someone working on django 2.0 official support?

krdeepak avatar Apr 26 '19 08:04 krdeepak

@krdeepak I used in Django 2.x. I don't see any issue. It works good.

jadhavmanoj avatar Apr 26 '19 09:04 jadhavmanoj

@jadhavmanoj but the tests are not against Django 2.x in this repo

stunaz avatar Apr 26 '19 11:04 stunaz

@stunaz true. currently, I am writing test cases for Django 2.1 support. I will send PR once I finished.

jadhavmanoj avatar Apr 26 '19 11:04 jadhavmanoj

@stunaz Please check PR #479 All test cases executed except for python version 3.3. tox has some issue for python version 3.3.

jadhavmanoj avatar Apr 27 '19 13:04 jadhavmanoj

cool @jadhavmanoj . Now, good luck to get it merged. this project is abandoned, hasnt get updated for years ... see https://github.com/GetBlimp/django-rest-framework-jwt/issues/449

stunaz avatar Apr 27 '19 14:04 stunaz