budjeto/authentication/urls.py

14 lines
319 B
Python

from django.urls import path, include
from rest_framework_simplejwt.views import (
TokenObtainPairView,
TokenRefreshView
)
app_name = 'auth'
urlpatterns = [
path('token/', TokenObtainPairView.as_view(), name='token_obtain'),
path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh')
]