Created
June 14, 2020 19:33
-
-
Save bismitaguha/62f61b3e38ac3963ca2afb51abb6dd05 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.urls import path | |
from rest_framework_simplejwt import TokenObtainPairView, TokenRefreshView | |
urlpatterns = [ | |
# Other URLs... | |
path('api/token/', TokenObtainPairView, name='token_obtain_pair'), | |
path('api/token/refresh/', TokenRefreshView, name='token_refresh'), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment