[backend + frontend]: Добавлена базовая регистрация

This commit is contained in:
2022-09-12 23:57:40 +03:00
parent 818bb9db81
commit ede65b0147
21 changed files with 198 additions and 29 deletions

View File

@@ -0,0 +1,14 @@
from django.urls import path
from django.urls import include
from accounts.views import CustomTokenObtainPairView
urlpatterns = [
path("", include("djoser.urls")),
path(
"auth/jwt/create",
CustomTokenObtainPairView.as_view(),
name="custom_token_obtain_pair",
),
path("auth/", include("djoser.urls.jwt")),
]