(request, template_file, args={}, status=200, content_type='text/html')
return HttpResponse(t.render(c), status=status, content_type=content_type)
Returns nicely formated Error page.

    @type request: C{django.http.HttpRequest}
    @param request: Client Request object
    @type template_file: C{string}
    @param template_file: Path to template file
    @type args: C{dict}
    @param args: Additional arguments we want to pass to the template
    @type status: C{int}
    @param status: HTTP return code
    @type content_type: C{string}
    @param content_type: Content-Type for the response
Returns nicely formated Error page.
Returns nicely formated Error page .
def ErrorPage(request, template_file, args={}, status=200, content_type='text/html'):
    """
    Returns nicely formated Error page.

    @type request: C{django.http.HttpRequest}
    @param request: Client Request object
    @type template_file: C{string}
    @param template_file: Path to template file
    @type args: C{dict}
    @param args: Additional arguments we want to pass to the template
    @type status: C{int}
    @param status: HTTP return code
    @type content_type: C{string}
    @param content_type: Content-Type for the response
    """

    t = loader.get_template(template_file)
    c = RequestContext(request, args)

    return HttpResponse(t.render(c), status=status, content_type=content_type)
def ErrorPage ( request , template_file , args = { } , status = 200 , content_type = 'text/html' ) : t = loader . get_template ( template_file ) c = RequestContext ( request , args ) return HttpResponse ( t . render ( c ) , status = status , content_type = content_type )