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 648 forks source link

Allow custom exception handling #452

Closed hugobrilhante closed 4 years ago

hugobrilhante commented 5 years ago

Hi everyone,

As requested, I'm submitting again this pull request - you can see the original pull request here.

Problem: Without the serializer.is_valid (raise_exception = True) the custom exception handler is ignored.