mirror of https://github.com/jumpserver/jumpserver
14 lines
525 B
Python
14 lines
525 B
Python
from django.conf.urls import url
|
|
|
|
from .views import UserListView, UserAddView, UserUpdateView, UserDeleteView, UserDetailView
|
|
|
|
app_name = 'users'
|
|
|
|
urlpatterns = [
|
|
url(r'^$', UserListView.as_view(), name='user-list'),
|
|
url(r'^(?P<pk>[0-9]+)/$', UserDetailView.as_view(), name='user-detail'),
|
|
url(r'^add/$', UserAddView.as_view(), name='user-add'),
|
|
url(r'^(?P<pk>[0-9]+)/edit/$', UserUpdateView.as_view(), name='user-edit'),
|
|
url(r'^(?P<pk>[0-9]+)/delete/$', UserDeleteView.as_view(), name='user-delete'),
|
|
]
|