14 lines
583 B
Python
14 lines
583 B
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,name = 'user-delete'),
|
|
path('<str:pk>/update/',views.UserUpdateView.as_view(),name = 'user-update'),
|
|
path('create/',views.UserCreateView.as_view(),name = 'user-create'),
|
|
]
|