2015-01-05 13:20:09 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
2015-03-14 09:54:17 +00:00
|
|
|
from jumpserver.api import view_splitter
|
|
|
|
from juser.views import *
|
2015-01-05 13:20:09 +00:00
|
|
|
|
|
|
|
urlpatterns = patterns('juser.views',
|
|
|
|
# Examples:
|
|
|
|
# url(r'^$', 'jumpserver.views.home', name='home'),
|
|
|
|
# url(r'^blog/', include('blog.urls')),
|
|
|
|
|
2015-03-03 14:44:00 +00:00
|
|
|
|
2015-03-02 10:27:48 +00:00
|
|
|
(r'^dept_list/$', 'dept_list'),
|
|
|
|
(r'^dept_add/$', 'dept_add'),
|
2015-03-03 10:42:06 +00:00
|
|
|
(r'^dept_del/$', 'dept_del'),
|
|
|
|
(r'^dept_detail/$', 'dept_detail'),
|
2015-03-04 10:20:03 +00:00
|
|
|
(r'^dept_del_ajax/$', 'dept_del_ajax'),
|
2015-03-03 14:44:00 +00:00
|
|
|
(r'^dept_edit/$', 'dept_edit'),
|
|
|
|
(r'^group_add/$', 'group_add'),
|
2015-03-14 09:54:17 +00:00
|
|
|
(r'^group_list/$', view_splitter, {'su': group_list_su, 'adm': group_list_adm}),
|
2015-01-24 05:20:52 +00:00
|
|
|
(r'^group_detail/$', 'group_detail'),
|
|
|
|
(r'^group_del/$', 'group_del'),
|
2015-03-04 10:20:03 +00:00
|
|
|
(r'^group_del_ajax/$', 'group_del_ajax'),
|
2015-01-24 05:20:52 +00:00
|
|
|
(r'^group_edit/$', 'group_edit'),
|
2015-03-03 14:44:00 +00:00
|
|
|
(r'^user_add/$', 'user_add'),
|
2015-03-12 10:43:17 +00:00
|
|
|
(r'^user_list/(?P<option>\w*)/?$', 'user_list'),
|
2015-03-03 14:44:00 +00:00
|
|
|
(r'^user_detail/$', 'user_detail'),
|
|
|
|
(r'^user_del/$', 'user_del'),
|
2015-03-04 16:20:24 +00:00
|
|
|
(r'^user_del_ajax/$', 'user_del_ajax'),
|
2015-03-03 14:44:00 +00:00
|
|
|
(r'^user_edit/$', 'user_edit'),
|
2015-02-28 15:22:52 +00:00
|
|
|
(r'^profile/$', 'profile'),
|
|
|
|
(r'^chg_pass/$', 'chg_pass'),
|
2015-01-05 13:20:09 +00:00
|
|
|
)
|