@method_decorator(never_cache)
def dispatch(self, request, *args, **kwargs):
    response = super().dispatch(request, *args, **kwargs)
    logout_user(request=request, response=response, logout=False)
    return response
@method_decorator(never_cache)
def dispatch(self, request, *args, **kwargs):
    response = super().dispatch(request, *args, **kwargs)
    logout_user(request=request, response=response, logout=False)
    return response