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
Model name
Add link
Change or view list link
Groups
Add
Users
Add
Flat Pages
Model name
Add link
Change or view list link
Flat pages
Add
Redirects
Model name
Add link
Change or view list link
Redirects
Add
Sites
Model name
Add link
Change or view list link
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