kwork-poizonstore/account/urls.py
phzhik fe24802831 + Bonus system (TODO: spend bonuses)
+ Telegram bot: sign up, sign in, notifications

+ Anonymous users can't see yuan_rate_commission
* Only logged in customers can create/update orders
* Customer info migrated to separate User model
* Renamed legacy fields in serializers
* Cleanup in API classes
2024-04-27 21:29:50 +04:00

13 lines
354 B
Python

from django.urls import path, include
from rest_framework.routers import DefaultRouter
from account import views
router = DefaultRouter()
router.register("users", views.UserViewSet)
urlpatterns = [
path('', include(router.urls)),
path('auth/', include('djoser.urls.authtoken')),
path('auth/telegram/', views.TelegramLoginForm.as_view()),
]