更新最新代码
This commit is contained in:
@@ -9,6 +9,8 @@ from server_auth.lib.auth import *
|
||||
urlpatterns = [
|
||||
# ---------------------------------------------------
|
||||
path('test', test), #
|
||||
# path('teacher_login',teacher_login),
|
||||
path('teacher_login', LoginView_teacher.as_view()), # 用户登录
|
||||
|
||||
# ---------------------------------------------------
|
||||
path('', to_dashboard), # 跳转列表界面
|
||||
@@ -42,4 +44,7 @@ urlpatterns = [
|
||||
path('logout', LogoutView.as_view()), # 用户登出
|
||||
|
||||
# ---------------------------------------------------
|
||||
|
||||
path('tercher_upload_somthings',TeacherView.as_view()), # 老师端上传一些文件
|
||||
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user