def logout(request): logout_url = maybe_social_logout(request) forget(request) if logout_url: return HTTPFound(location=logout_url) next_view = handle_next_view(request, True) return HTTPFound(location=next_view)
def logout(request): logout_url = maybe_social_logout(request) forget(request) if logout_url: return HTTPFound(location=logout_url) next_view = handle_next_view(request, True) return HTTPFound(location=next_view)
def logout(request): logout_url = maybe_social_logout(request) forget(request)
def logout(request): logout_url = maybe_social_logout(request) forget(request)