jpadilla / django-rest-framework-jwt

JSON Web Token Authentication support for Django REST Framework
http://jpadilla.github.io/django-rest-framework-jwt/
MIT License
3.19k stars 652 forks source link

Custom 'jwt_response_payload_handler' #328

Closed yarnball closed 7 years ago

yarnball commented 7 years ago

Hi,

I have made adjustments to the utils.py inside the core-library (ie inside virtual env folder).

This is obviously problematic, as these file changes will not copy to my repo, and if i re-install/upgrade your lib, it will be wiped.

How can I correctly modify utils.py?

yarnball commented 7 years ago

Oops- very easy. Just change JWT_RESPONSE_PAYLOAD_HANDLER in settings.py to your own directory. Ta