13 lines
351 B
Python
13 lines
351 B
Python
from django.urls import path, include
|
|
|
|
from account import views
|
|
from poizonstore.utils import get_drf_router
|
|
|
|
router = get_drf_router()
|
|
router.register("users", views.UserViewSet)
|
|
|
|
urlpatterns = [
|
|
path('', include(router.urls)),
|
|
path('auth/', include('djoser.urls.authtoken')),
|
|
path('auth/telegram/', views.TelegramLoginForm.as_view()),
|
|
] |