def logout(request):
    """
    Log the user out.
    """
    auth_logout(request)
    info(request, _("Successfully logged out"))
    return redirect(next_url(request) or get_script_prefix())
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/accounts/views.py/logout/original