+ )
+
+class HttpResponseNotFound(HttpResponse):
+ def __init__(self, request):
+ super(HttpResponseNotFound, self).__init__(
+ content=render_to_string('404.html', context_instance=RequestContext(request)),
+ status=404
+ )
+
+class HttpResponseIntServerError(HttpResponse):
+ def __init__(self, request):
+ super(HttpResponseIntServerError, self).__init__(
+ content=render_to_string('500.html', context_instance=RequestContext(request)),
+ status=500
+ )
\ No newline at end of file