📌  相关文章
📜  'django.contrib.auth.views' 没有属性 'logout' - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:36.640000             🧑  作者: Mango

代码示例2
Open urls.py and replace:

django.contrib.auth.views.login with django.contrib.auth.views.LoginView

django.contrib.auth.views.logout with django.contrib.auth.views.LogoutView