500 error handler which includes ``request`` in the context.

    Templates: `500.html`
    Context: None

def error_handler_404(request):
    """
    500 error handler which includes ``request`` in the context.

    Templates: `500.html`
    Context: None
    """
    from django.template import Context, loader
    from django.http import HttpResponseServerError

    t = loader.get_template('404.html')
    return HttpResponseServerError(t.render(Context({
        'request': request,
        'settings': settings,
    })))