10 lines
443 B
Python
10 lines
443 B
Python
from django.urls import path, include,re_path
|
|
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"), # 跳转到后台管理
|
|
] |