<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def logout(request, redirect_url=settings.LOGOUT_REDIRECT_URL):
 """ Nothing hilariously hidden here, logs a user out. Strip this out if your application already has hooks to handle this. """

    django_logout(request)
    return HttpResponseRedirect(request.build_absolute_uri(redirect_url))