You've already forked WhereToGoRedux
mirror of
https://github.com/Llloooggg/WhereToGoRedux.git
synced 2026-03-06 04:56:23 +03:00
[backend + frontend]: Добавлена базовая регистрация
This commit is contained in:
14
backend/wheretogo/accounts/urls.py
Normal file
14
backend/wheretogo/accounts/urls.py
Normal 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")),
|
||||
]
|
||||
Reference in New Issue
Block a user