add 完善用户登录状态和未登录状态
This commit is contained in:
Binary file not shown.
@@ -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"), # 用户登出
|
||||
]
|
||||
Reference in New Issue
Block a user