Gallery-Archivist/backend/api/urls.py

12 lines
315 B
Python
Raw Normal View History

2025-01-28 22:01:58 +01:00
from django.urls import path, include
from rest_framework_simplejwt.views import (
TokenObtainPairView,
TokenRefreshView,
)
urlpatterns = [
path("api/token/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
path("api/token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
]