Commit 39ae4a3a authored by Administrator's avatar Administrator

[future] url 调整

parent 961ecb3e
......@@ -21,10 +21,10 @@ router.register(r'Extraconf', api_view.ExtraconfViewSet)
urlpatterns = [
# Resource Sudo url
url(r'^sudo/list$', mvc_view.SudoListView.as_view(), name='sudo-list'),
url(r'^sudo/create', mvc_view.SudoCreateView(), name='sudo-create'),
url(r'^sudo/detail', mvc_view.SudoDetailView(), name='sudo-detail'),
url(r'^sudo/update', mvc_view.SudoUpdateView(), name='sudo-update'),
url(r'^sudo/delete', mvc_view.SudoDeleteView(), name='sudo-delete'),
url(r'^sudo/create', mvc_view.SudoCreateView.as_view(), name='sudo-create'),
url(r'^sudo/detail', mvc_view.SudoDetailView.as_view(), name='sudo-detail'),
url(r'^sudo/update', mvc_view.SudoUpdateView.as_view(), name='sudo-update'),
url(r'^sudo/delete', mvc_view.SudoDeleteView.as_view(), name='sudo-delete'),
]
urlpatterns += [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment