Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
39ae4a3a
Commit
39ae4a3a
authored
Nov 20, 2016
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[future] url 调整
parent
961ecb3e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
urls.py
apps/ops/urls.py
+4
-4
No files found.
apps/ops/urls.py
View file @
39ae4a3a
...
...
@@ -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
+=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment