Move: auth to new api seperate app

This commit is contained in:
Aroy-Art 2025-02-08 17:36:36 +01:00
parent 5a3c568a15
commit 6ca01d7bdf
Signed by: Aroy
GPG key ID: 583642324A1D2070
5 changed files with 39 additions and 7 deletions

View file

@ -1,12 +1,6 @@
from django.urls import path, include
from rest_framework_simplejwt.views import (
TokenObtainPairView,
TokenRefreshView,
)
urlpatterns = [
path("api/user/", include("api.user.urls")),
path("api/token/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
path("api/token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
path("auth/", include("api.authentication.urls")),
]