MrDoc/app_admin/urls.py

28 lines
1.9 KiB
Python
Raw Normal View History

2019-07-21 22:08:04 +08:00
from django.urls import path,re_path
from app_admin import views
urlpatterns = [
path('login/',views.log_in,name='login'),# 登录
path('logout/',views.log_out,name='logout'),# 注销
path('register/',views.register,name="register"), # 注册
path('user_manage/',views.admin_user,name="user_manage"), # 用户管理
path('create_user/',views.admin_create_user,name="create_user"), # 新建用户
path('del_user/',views.admin_del_user,name='del_user'), # 删除用户
path('change_pwd',views.admin_change_pwd,name="change_pwd"), # 管理员修改用户密码
path('modify_pwd',views.change_pwd,name="modify_pwd"), # 普通用户修改密码
2019-07-25 15:25:27 +08:00
path('project_manage/',views.admin_project,name='project_manage'), # 文集管理
2020-01-01 21:24:29 +08:00
path('project_role_manage/<int:pro_id>/',views.admin_project_role,name="admin_project_role"), # 管理文集权限
2021-01-31 20:48:24 +08:00
path('project_manage_istop',views.admin_project_istop,name="admin_project_istop"), # 修改文集置顶状态
2019-12-01 20:44:16 +08:00
path('doc_manage/',views.admin_doc,name='doc_manage'), # 文档管理
path('doctemp_manage/',views.admin_doctemp,name='doctemp_manage'), # 文档模板管理
path('setting/',views.admin_setting,name="sys_setting"), # 应用设置
path('check_code/',views.check_code,name='check_code'), # 注册验证码
path('forget_pwd/',views.forget_pwd,name='forget_pwd'), # 忘记密码
path('send_email_vcode/',views.send_email_vcode,name='send_email_vcode'), # 忘记密码发送邮件验证码
path('admin_register_code/',views.admin_register_code,name='register_code_manage'), # 注册邀请码管理
path('check_update/',views.check_update,name='check_update'), # 检测版本更新
2020-11-16 21:32:08 +08:00
path('admin_center/',views.admin_center,name="admin_center"), # 后台管理
path('admin/center_menu/',views.admin_center_menu,name="admin_center_menu"), # 后台管理菜单数据
path('admin_overview/',views.admin_overview,name="admin_overview"), # 后台管理仪表盘
2019-12-01 20:44:16 +08:00
2019-07-21 22:08:04 +08:00
]