You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Fix docs specifying `INSTALLED_APPS` for SimpleJWT iff you want translations ([#420](https://github.com/jazzband/django-rest-framework-simplejwt/pull/420))
34
+
* Fix docs specifying `INSTALLED_APPS` for NinjaJWT if you want translations ([#420](https://github.com/jazzband/django-rest-framework-simplejwt/pull/420))
35
35
* Fix drf-yasg API Schema generation for `TokenRefreshSerializer` ([#396](https://github.com/jazzband/django-rest-framework-simplejwt/pull/396))
36
36
* Fix invalid syntax in docs for `INSTALLED_APPS` ([#416](https://github.com/jazzband/django-rest-framework-simplejwt/pull/416))
@@ -12,3 +12,98 @@ Ninja JWT is JSON Web Token plugin for Django-Ninja. The library is a fork of [S
12
12
This library does not fix any issues from the parent source. It only added support for Django-Ninja and removed restframework dependency, but be rest assured that updates from SIMPLE JWT will reflect here.
13
13
14
14
For full documentation, [visit](https://eadwincode.github.io/django-ninja-jwt/).
15
+
16
+
#### Requirements
17
+
- Python >= 3.6
18
+
- Django >= 2.1
19
+
- Django-Ninja >= 0.16.1
20
+
- Ninja-Schema >= 0.12.2
21
+
- Django-Ninja-Extra >= 0.11.0
22
+
23
+
24
+
Installation
25
+
============
26
+
27
+
Ninja JWT can be installed with pip:
28
+
29
+
pip install django-ninja-jwt
30
+
31
+
Also, you need to register `NinjaJWTDefaultController` controller to you Django-Ninja api.
32
+
The `NinjaJWTDefaultController` comes with three routes `obtain_token`, `refresh_token` and `verify_token`
33
+
34
+
```{.sourceCode .python}
35
+
from ninja_jwt.controller import NinjaJWTDefaultController
0 commit comments