code: def logout(request, redirect_url=settings.LOGOUT_REDIRECT_URL):
      
      django_logout(request)
      return HttpResponseRedirect(request.build_absolute_uri(redirect_url))
docs: Nothing hilariously hidden here, logs a user out. Strip this out if your
          application already has hooks to handle this.