Created
December 10, 2019 17:03
-
-
Save aballah-chamakh/c0e5c0077a61e23903f30bf1e7a07b6b to your computer and use it in GitHub Desktop.
This file contains hidden or 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.contrib import admin | |
from django.urls import path,include | |
from rest_framework_jwt.views import obtain_jwt_token,refresh_jwt_token | |
urlpatterns = [ | |
path('admin/', admin.site.urls), | |
path('api/',include('SAInference.urls')), | |
path('api/token/', obtain_jwt_token, name='token_obtain_pair'), | |
path('api/token/refresh', refresh_jwt_token, name='token_refresh'), | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment