class documentation

class LogoutView(SuccessURLAllowedHostsMixin, TemplateView):

View In Hierarchy

Log out the user and display the 'You are logged out' message.
Class Variable extra​_context Undocumented
Class Variable next​_page Undocumented
Class Variable template​_name Undocumented
Method dispatch Undocumented
Method get​_context​_data Undocumented
Method get​_next​_page Undocumented
Method post Logout may be done via POST.

Inherited from SuccessURLAllowedHostsMixin:

Method get​_success​_url​_allowed​_hosts Undocumented
Class Variable success​_url​_allowed​_hosts Undocumented
extra_context =

Undocumented

next_page =

Undocumented

template_name: str =

Undocumented

@method_decorator(never_cache)
def dispatch(self, request, *args, **kwargs):

Undocumented

def get_context_data(self, **kwargs):

Undocumented

def get_next_page(self):

Undocumented

def post(self, request, *args, **kwargs):
Logout may be done via POST.