9 lines
338 B
Python
9 lines
338 B
Python
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"), # 跳转到注册页面
|
|
] |