Update link to djangorestframework-jwt in installation.rst

The previous link is currently broken. http://getblimp.github.io/django-rest-framework-jwt/ responds with a 404. So I'm suggesting to replace it with the one from pypi.
This commit is contained in:
Eddy ADEGNANDJOU 2023-12-30 17:50:10 +01:00 committed by GitHub
parent cdd04aa9be
commit 36c87e2225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -248,7 +248,7 @@ JSON Web Token (JWT) Support (optional)
By default ``django-rest-auth`` uses Django's Token-based authentication. If you want to use JWT authentication, follow these steps:
1. Install `djangorestframework-jwt <http://getblimp.github.io/django-rest-framework-jwt/>`_
1. Install `djangorestframework-jwt <https://pypi.org/project/djangorestframework-jwt/>`_
- ``djangorestframework-jwt`` is currently the only supported JWT library.
2. The ``JWT_PAYLOAD_HANDLER`` and ``JWT_ENCODE_HANDLER`` settings are imported from the ``django-rest-framework-jwt`` settings object.
- Refer to `the library's documentation <http://getblimp.github.io/django-rest-framework-jwt/#additional-settings>`_ for information on using different encoders.