from django.urls import path from apps.account.views import LoonUserView, LoonRoleView, LoonDeptView, LoonAppTokenView, LoonAppTokenDetailView, \ LoonLoginView, LoonLogoutView, LoonUserRoleView, LoonRoleUserView urlpatterns = [ path('/users', LoonUserView.as_view()), path('/users//roles', LoonUserRoleView.as_view()), path('/roles', LoonRoleView.as_view()), path('/roles//users', LoonRoleUserView.as_view()), path('/depts', LoonDeptView.as_view()), path('/login', LoonLoginView.as_view()), path('/logout', LoonLogoutView.as_view()), path('/app_token', LoonAppTokenView.as_view()), path('/app_token/', LoonAppTokenDetailView.as_view()), ]