/
home
/
liman
/
liman-backend
/
limanAuth
/
File Upload :
llllll
Current File: /home/liman/liman-backend/limanAuth/urls.py
from django.urls import include, path from rest_framework import routers from .api import * from .views import * router = routers.DefaultRouter() router.register('admin/customer', AdminCustomerView) router.register('admin/porter', AdminPorterView) router.register('admin/user', AdminUserView) router.register('customer', CustomerView) router.register('porter', PorterView) urlpatterns = [ path('auth/login/', login, name='token_obtain_pair'), path('auth/login/2fa', login_mobile, name='login_mobile'), path('auth/me/', chek_login_status, name='token_obtain_pair'), path('auth/profile/', update_profile, name='update_profile'), path('admin/porter/table', AdminPorterView.table), path('admin/customer/table', AdminCustomerView.table), path('admin/user/table', AdminUserView.table), ]
Copyright ©2k19 -
Hexid
|
Tex7ure