drought/users/urls.py

26 lines
1.5 KiB
Python
Raw Normal View History

2018-12-26 01:10:53 +00:00
from django.urls import path
2018-12-26 01:53:46 +00:00
2018-12-28 02:13:51 +00:00
from users import views
2018-12-26 01:10:53 +00:00
urlpatterns = [
2019-03-13 02:44:47 +00:00
path('status', views.server_status, name='user-server-status'),
2018-12-28 13:44:18 +00:00
path('status/proxy', views.server_status_proxy, name='server-status-proxy'),
2018-12-28 09:06:54 +00:00
path('list/',views.UserListView.as_view(),name = 'user-list'),
2018-12-29 01:11:57 +00:00
path('<str:pk>/detail/',views.UserDetailView,name = 'user-detail'),
2018-12-29 06:49:25 +00:00
path('<str:pk>/delete/',views.UserDeleteView.as_view(),name = 'user-delete'),
2018-12-29 01:11:57 +00:00
path('<str:pk>/update/',views.UserUpdateView.as_view(),name = 'user-update'),
path('create/',views.UserCreateView.as_view(),name = 'user-create'),
path('register/',views.UserRegisterView,name = 'user-register'),
2018-12-29 06:49:25 +00:00
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/list/',views.YearRangeListView.as_view(),name = 'year-range-list'),
path('year/range/manage/',views.year_range_manage,name = 'year-range-manage'),
2018-12-29 06:49:25 +00:00
path('year/range/add/',views.YearRangeAddView.as_view(),name = 'year-range-add'),
2019-03-13 02:44:47 +00:00
path('year/range/<str:pk>/update/',views.YearRangeUpdateView.as_view(),name = 'year-range-update'),
path('data/back/up/',views.DataBackUp,name = 'user-data-back-up'),
path('data/backups/',views.backupsDB,name = 'data-backups'),
2018-12-26 01:10:53 +00:00
]