<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 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,
    })))