Open Marforio opened 8 months ago
Look like thats true, i also could not figure it out that they had created a logged_out.html
page and in code i also could not figure out the piece of code that tells to redirect to this page when user click on logout button
Btw in django 4, it work. In django 5
Support for logging out via GET requests in the django.contrib.auth.views.LogoutView and django.contrib.auth.views.logout_then_login() is removed.`
``
very interesting and helpful, thanks for the feedback!
In
templates/base.html
, the use of an<a>
hypertext element when callingauthviews.LogoutView
is causing an http 405 error because a GET request toLogoutView
is being sent.LogoutView
expects POST.Why did you guys use the hypertext link to activate LogoutView?