def _error_page(request, status):
 return render(request, ('%d.html' % status), status=status)

def _error_page ( request , status ) : return render ( request , ( '%d.html' % status ) , status = status )
render error pages with jinja2 .