Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #5935 -- the 'It worked' page is now served with a 200 status c…

…ode, not a 404. Thanks for bringing this up, Free Neuron

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c016352229ad0072e1bd0c6a05800fa75db852e8 1 parent 6c06f8f
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/views/
4 django/views/
@@ -5,7 +5,7 @@
from django.conf import settings
from django.template import Template, Context, TemplateDoesNotExist
from django.utils.html import escape
-from django.http import HttpResponseServerError, HttpResponseNotFound
+from django.http import HttpResponse, HttpResponseServerError, HttpResponseNotFound
from django.utils.encoding import smart_unicode
@@ -195,7 +195,7 @@ def empty_urlconf(request):
c = Context({
'project_name': settings.SETTINGS_MODULE.split('.')[0]
- return HttpResponseNotFound(t.render(c), mimetype='text/html')
+ return HttpResponse(t.render(c), mimetype='text/html')
def _get_lines_from_file(filename, lineno, context_lines, loader=None, module_name=None):
Please sign in to comment.
Something went wrong with that request. Please try again.