mirror of
https://github.com/more-tech4-magnum-opus/backend.git
synced 2025-07-05 02:43:02 +03:00
22 lines
491 B
Python
22 lines
491 B
Python
from django.urls import path, include
|
|
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView
|
|
|
|
urlpatterns = [
|
|
path(
|
|
"auth/",
|
|
include(
|
|
[
|
|
path("token/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
|
|
path("refresh/", TokenRefreshView.as_view(), name="token_refresh"),
|
|
]
|
|
),
|
|
),
|
|
path(
|
|
"user/",
|
|
include(
|
|
[
|
|
]
|
|
),
|
|
),
|
|
]
|