jumpserver/juser/urls.py

26 lines
1.6 KiB
Python
Raw Normal View History

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-12-19 09:26:34 +00:00
# Examples:
# url(r'^$', 'jumpserver.views.home', name='home'),
# url(r'^blog/', include('blog.urls')),
url(r'^group/add/$', 'group_add', name='user_group_add'),
url(r'^group/list/$', 'group_list', name='user_group_list'),
url(r'^group/del/$', 'group_del', name='user_group_del'),
url(r'^group/edit/$', 'group_edit', name='user_group_edit'),
url(r'^user/add/$', 'user_add', name='user_add'),
url(r'^user/del/$', 'user_del', name='user_del'),
url(r'^user/list/$', 'user_list', name='user_list'),
url(r'^user/edit/$', 'user_edit', name='user_edit'),
url(r'^user/detail/$', 'user_detail', name='user_detail'),
url(r'^user/profile/$', 'profile', name='user_profile'),
url(r'^user/update/$', 'change_info', name='user_update'),
url(r'^mail/retry/$', 'send_mail_retry', name='mail_retry'),
url(r'^password/reset/$', 'reset_password', name='password_reset'),
url(r'^password/forget/$', 'forget_password', name='password_forget'),
url(r'^key/gen/$', 'regen_ssh_key', name='key_gen'),
url(r'^key/down/$', 'down_key', name='key_down'),
)