File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ Ninja JWT can be installed with pip:
3535
3636 pip install django-ninja-jwt
3737
38- Also, you need to register ` NinjaJWTDefaultController ` controller to you Django-Ninja api.
39- The ` NinjaJWTDefaultController ` comes with three routes ` obtain_token ` , ` refresh_token ` and ` verify_token `
38+ Also, you need to register ` NinjaJWTDefaultController ` controller to your Django-Ninja api.
4039
4140``` python
4241from ninja_jwt.controller import NinjaJWTDefaultController
@@ -48,7 +47,7 @@ api.register_controllers(NinjaJWTDefaultController)
4847```
4948
5049The ` NinjaJWTDefaultController ` comes with three routes ` obtain_token ` , ` refresh_token ` and ` verify_token ` .
51- It is a combination of two subclass ` TokenVerificationController ` and ` TokenObtainPairController ` .
50+ It is a combination of two subclasses ` TokenVerificationController ` and ` TokenObtainPairController ` .
5251If you wish to customize these routes, you can inherit from these controllers and change its implementation
5352
5453``` python
You can’t perform that action at this time.
0 commit comments