It returns a 404 http response

def view_404(request, url=None):
    """
    It returns a 404 http response
    """
    res = render_to_response("404.html", {"PAGE_URL": request.get_full_path()},
                             context_instance=RequestContext(request))
    res.status_code = 404
    return res