Skip to main content
Django administration
Welcome,
admin
.
View site
/
Documentation
/
Change password
/
Log out
Toggle theme (current theme: auto)
Toggle theme (current theme: light)
Toggle theme (current theme: dark)
Home
›
Documentation
›
Views
› django.contrib.admin.sites.AdminSite.logout
Authentication and Authorization
Groups
Add
Users
Add
Flat Pages
Flat pages
Add
Redirects
Redirects
Add
Sites
Sites
Add
django.contrib.admin.sites.AdminSite.logout
Log out the user for the given HttpRequest.
This should
not
assume the user is already logged in.
‹ Back to View documentation