Skip to main content

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