newmediamonitoring/management/urls.py

24 lines
1.3 KiB
Python

from django.urls import path
from management import views
urlpatterns = [
# 用户管理
path('user/management/', views.user_management, name='user-management-management'),
path('user/detail/<str:pk>/', views.user_detail, name='user-management-detail'),
path('user/delete/<str:pk>/', views.user_delete, name='user-management-delete'),
# 群组管理
path('group/management/', views.group_management, name='group-management-management'),
path('group/create/', views.group_create, name='group-management-create'),
path('group/detail/<str:pk>/', views.group_detail, name='group-management-detail'),
path('group/update/<str:pk>/', views.group_update, name='group-management-update'),
path('group/delete/<str:pk>/', views.group_delete, name='group-management-delete'),
#主体单位管理
path('organization/management/',views.organization_management,name='organization-management-management'),
path('organization/create/',views.organization_create,name='organization-management-create'),
path('organization/detail/<str:pk>/',views.organization_detail,name='organization-management-detail'),
path('organization/delete/<str:pk>/',views.organization_delete,name='organization-management-delete'),
path('organization/update/<str:pk>/',views.organization_update,name='organization-management-update'),
]