add 完善用户登录状态和未登录状态

This commit is contained in:
2024-09-05 03:22:23 +08:00
parent d32e0000ba
commit 23bff01191
27 changed files with 132 additions and 6 deletions
+1 -1
View File
@@ -6,5 +6,5 @@ urlpatterns = [
# re_path(r'^login/$', views.login),
path('register', RegisterView.as_view()), # 用户注册
path('login', LoginView.as_view()), # 用户登录
path('logout', LogoutView.as_view()), # 用户登出
path('logout', LogoutView.as_view(),name="logout_fun"), # 用户登出
]