tests.py
20.5 KB
-
change from throwing a Http404 exception, which I believe will try to render a… · 3fa1fe0c
change from throwing a Http404 exception, which I believe will try to render a static 404.html template - and ironically triggers a 500 server error. Just create a HttpResponse and set the status_code to 404.
Chris Dodge committed