from django.urls import path, re_path

from user.views import index, register, login, is_login, logout

urlpatterns = [

    # 主页
    path('index/', index, name='index'),
    # 注册
    path('register/', register, name='register'),
    # 登录
    path('login/', login, name='login'),
    # 继承页面需要获取的信息
    path('is_login/', is_login, name='is_login'),
    # 退出登录
    path('logout/', logout, name='logout'),

]

e509a44c3c659788197209e330dac05dc8b72db6
<mask token>

<mask token>
urlpatterns = [path('index/', index, name='index'), path('register/',
    register, name='register'), path('login/', login, name='login'), path(
    'is_login/', is_login, name='is_login'), path('logout/', logout, name=
    'logout')]

from django.urls import path, re_path
from user.views import index, register, login, is_login, logout
urlpatterns = [path('index/', index, name='index'), path('register/',
    register, name='register'), path('login/', login, name='login'), path(
    'is_login/', is_login, name='is_login'), path('logout/', logout, name=
    'logout')]

from django.urls import path, re_path

from user.views import index, register, login, is_login, logout

urlpatterns = [

    # 主页
    path('index/', index, name='index'),
    # 注册
    path('register/', register, name='register'),
    # 登录
    path('login/', login, name='login'),
    # 继承页面需要获取的信息
    path('is_login/', is_login, name='is_login'),
    # 退出登录
    path('logout/', logout, name='logout'),

]
