21 lines
1.1 KiB
Python
21 lines
1.1 KiB
Python
from django.urls import path
|
|
|
|
from users import views
|
|
|
|
urlpatterns = [
|
|
path('status', views.server_status, name='server-status'),
|
|
path('status/proxy', views.server_status_proxy, name='server-status-proxy'),
|
|
path('list/',views.UserListView.as_view(),name = 'user-list'),
|
|
path('<str:pk>/detail/',views.UserDetailView,name = 'user-detail'),
|
|
path('<str:pk>/delete/',views.UserDeleteView.as_view(),name = 'user-delete'),
|
|
path('<str:pk>/update/',views.UserUpdateView.as_view(),name = 'user-update'),
|
|
path('create/',views.UserCreateView.as_view(),name = 'user-create'),
|
|
path('register/',views.UserRegisterView.as_view(),name = 'user-register'),
|
|
path('manage/',views.ManageView,name = 'user-manage'),
|
|
path('group/list/',views.GroupListView.as_view(),name = 'group-list'),
|
|
path('group/create/',views.GroupCreateView.as_view(),name = 'group-create'),
|
|
path('<str:pk>/group/delete/',views.GroupDeleteView.as_view(),name='group-delete'),
|
|
path('<str:pk>/group/update/',views.GroupUpdateView.as_view(),name = 'group-update'),
|
|
path('year/range/add/',views.YearRangeAddView.as_view(),name = 'year-range-add'),
|
|
]
|