2015-04-20 02:12:11 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
from jumpserver.api import view_splitter
|
|
|
|
from juser.views import *
|
|
|
|
|
|
|
|
urlpatterns = patterns('juser.views',
|
2015-11-02 07:49:05 +00:00
|
|
|
# Examples:
|
|
|
|
# url(r'^$', 'jumpserver.views.home', name='home'),
|
|
|
|
# url(r'^blog/', include('blog.urls')),
|
2015-04-20 02:12:11 +00:00
|
|
|
|
2015-11-02 07:49:05 +00:00
|
|
|
(r'^group_add/$', group_add),
|
|
|
|
(r'^group_list/$', group_list),
|
|
|
|
(r'^group_del/$', group_del),
|
|
|
|
(r'^group_edit/$', group_edit),
|
2015-11-17 12:27:38 +00:00
|
|
|
|
2015-11-02 07:49:05 +00:00
|
|
|
(r'^user_add/$', user_add),
|
2015-11-17 12:27:38 +00:00
|
|
|
(r'^user_del/$', 'user_del'),
|
2015-11-02 07:49:05 +00:00
|
|
|
(r'^user_list/$', user_list),
|
2015-11-17 12:27:38 +00:00
|
|
|
(r'^user_edit/$', user_edit),
|
|
|
|
(r'^user_detail/$', 'user_detail'),
|
|
|
|
|
|
|
|
(r'^profile/$', 'profile'),
|
|
|
|
|
2015-11-02 07:49:05 +00:00
|
|
|
(r'^send_mail_retry/$', send_mail_retry),
|
|
|
|
(r'^reset_password/$', reset_password),
|
|
|
|
(r'^forget_password/$', forget_password),
|
2015-11-17 12:27:38 +00:00
|
|
|
|
2015-11-02 07:49:05 +00:00
|
|
|
(r'^change_info/$', 'change_info'),
|
|
|
|
(r'^change_role/$', 'chg_role'),
|
2015-11-17 12:27:38 +00:00
|
|
|
(r'^regen_ssh_key/$', 'regen_ssh_key'),
|
2015-11-02 07:49:05 +00:00
|
|
|
(r'^down_key/$', 'down_key'),
|
2015-11-21 13:24:01 +00:00
|
|
|
|
|
|
|
(r'runcommand/$', 'RunCommand'),
|
2015-11-02 07:49:05 +00:00
|
|
|
)
|