jumpserver/jperm/urls.py

24 lines
1.1 KiB
Python
Raw Normal View History

2015-04-20 02:12:11 +00:00
from django.conf.urls import patterns, include, url
from jperm.views import *
urlpatterns = patterns('jperm.views',
(r'^rule/$', perm_rule_list),
2015-11-13 09:17:22 +00:00
(r'^perm_rule_add/$', perm_rule_add),
(r'^perm_rule_detail/$', perm_rule_detail),
(r'^perm_rule_edit/$', perm_rule_edit),
(r'^perm_rule_delete/$', perm_rule_delete),
(r'^role/$', perm_role_list),
(r'^role/perm_role_add/$', perm_role_add),
(r'^role/perm_role_delete/$', perm_role_delete),
(r'^role/perm_role_detail/$', perm_role_detail),
(r'^role/perm_role_edit/$', perm_role_edit),
2015-11-14 13:52:09 +00:00
(r'^role/perm_role_push/$', perm_role_push),
2015-10-24 15:52:06 +00:00
(r'^log/$', log),
(r'^sys_user_add/$', sys_user_add),
(r'^perm_user_list/$', sys_user_list),
2015-10-24 15:52:06 +00:00
(r'^sys_user_del/$', sys_user_del),
(r'^sys_user_edit/$', sys_user_edit),
)