shared_accounts, accounts: ikkita user model qoshildi

This commit is contained in:
behruz-dev
2025-12-07 14:54:54 +05:00
parent 30c3b4df2e
commit 3c79a4c83c
31 changed files with 234 additions and 128 deletions

View File

@@ -0,0 +1,21 @@
# django
from django.urls import path, include
# rest framework simplejwt
from rest_framework_simplejwt.views import TokenObtainPairView, TokenRefreshView
urlpatterns = [
path('user/', include(
[
]
)),
# ------ authentication ------
path('auth/', include(
[
path('login/', TokenObtainPairView.as_view(), name='login-api'),
path('token/refresh/', TokenRefreshView.as_view(), name='token-refresh-api'),
]
)),
]