2015-04-20 02:12:11 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
from jperm.views import *
|
|
|
|
|
|
|
|
urlpatterns = patterns('jperm.views',
|
2015-12-19 09:26:34 +00:00
|
|
|
url(r'^rule/list/$', perm_rule_list, name='rule_list'),
|
|
|
|
url(r'^rule/add/$', perm_rule_add, name='rule_add'),
|
|
|
|
url(r'^rule/detail/$', perm_rule_detail, name='rule_detail'),
|
|
|
|
url(r'^rule/edit/$', perm_rule_edit, name='rule_edit'),
|
|
|
|
url(r'^rule/del/$', perm_rule_delete, name='rule_del'),
|
|
|
|
url(r'^role/list/$', perm_role_list, name='role_list'),
|
|
|
|
url(r'^role/add/$', perm_role_add, name='role_add'),
|
|
|
|
url(r'^role/del/$', perm_role_delete, name='role_del'),
|
|
|
|
url(r'^role/detail/$', perm_role_detail, name='role_detail'),
|
|
|
|
url(r'^role/edit/$', perm_role_edit, name='role_edit'),
|
|
|
|
url(r'^role/push/$', perm_role_push, name='role_push'),
|
|
|
|
url(r'^role/recycle/$', perm_role_recycle, name='role_recycle'),
|
|
|
|
url(r'^role/get/$', perm_role_get, name='role_get'),
|
|
|
|
url(r'^sudo/list/$', perm_sudo_list, name='sudo_list'),
|
|
|
|
url(r'^sudo/add/$', perm_sudo_add, name='sudo_add'),
|
|
|
|
url(r'^sudo/del/$', perm_sudo_delete, name='sudo_del'),
|
|
|
|
url(r'^sudo/edit/$', perm_sudo_edit, name='sudo_edit'),
|
|
|
|
)
|