add 后台管理页面

This commit is contained in:
2024-09-06 14:37:47 +08:00
parent 23bff01191
commit 7b57fb645f
737 changed files with 138757 additions and 5 deletions
Binary file not shown.
Binary file not shown.
+2 -1
View File
@@ -1,9 +1,10 @@
from django.urls import path, include,re_path
from jump.views import to_index,to_register,to_login
from jump.views import to_index,to_register,to_login,to_adminAccess
urlpatterns = [
path('', to_index, name="index_jump"), # 跳转首页界面
path('login', to_login, name="login_jump"), # 跳转到登录页面
path('register',to_register, name = "register_jump"), # 跳转到注册页面
path('adminAccess ',to_adminAccess, name="adminAccess_jump"), # 跳转到后台管理
]
+7 -1
View File
@@ -27,4 +27,10 @@ def to_register(request):
"""
注册页面
"""
return render(request,"html/register.html")
return render(request,"html/register.html")
def to_adminAccess(request):
"""
后台管理
"""
return render(request,"html/adminAccess.html")