初步框架搭建
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from django.urls import path, include,re_path
|
||||
from jump.views import to_index,to_register,to_login
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
path('', to_index, name="index_jump"), # 跳转首页界面
|
||||
path('login', to_login, name="login_jump"), # 跳转到登录页面
|
||||
path('register',to_register, name = "register_jump"), # 跳转到注册页面
|
||||
]
|
||||
Reference in New Issue
Block a user