2024-02-06 10:21:09 +00:00
|
|
|
from django.urls import path, include
|
2024-02-07 17:09:07 +00:00
|
|
|
from authentication import views
|
2024-02-06 10:21:09 +00:00
|
|
|
|
|
|
|
from rest_framework_simplejwt.views import (
|
|
|
|
TokenObtainPairView,
|
|
|
|
TokenRefreshView
|
|
|
|
)
|
|
|
|
|
|
|
|
app_name = 'auth'
|
|
|
|
|
|
|
|
urlpatterns = [
|
2024-02-07 17:09:07 +00:00
|
|
|
path('signup/', views.SignUpView.as_view(), name='signup'),
|
2024-02-06 10:21:09 +00:00
|
|
|
path('token/', TokenObtainPairView.as_view(), name='token_obtain'),
|
|
|
|
path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh')
|
|
|
|
]
|