﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
12269	exception instead of 404 in production (non-debug) mode	tier	nobody	"Django version 1.2 pre-alpha SVN-11782
While querying wrong URL on the development server (having DEBUG = False) Django outputs the same:

{{{
Traceback (most recent call last):
  File ""/home/tier/src/django/django/core/servers/basehttp.py"", line 279, in run
    self.result = application(self.environ, self.start_response)
  File ""/home/tier/src/django/django/core/servers/basehttp.py"", line 651, in __call__
    return self.application(environ, start_response)
  File ""/home/tier/src/django/django/core/handlers/wsgi.py"", line 241, in __call__
    response = self.get_response(request)
  File ""/home/tier/src/django/django/core/handlers/base.py"", line 129, in get_response
    return self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File ""/home/tier/src/django/django/core/handlers/base.py"", line 177, in handle_uncaught_exception
    return callback(request, **param_dict)
  File ""/home/tier/src/django/django/views/defaults.py"", line 23, in server_error
    t = loader.get_template(template_name) # You need to create a 500.html template.
  File ""/home/tier/src/django/django/template/loader.py"", line 81, in get_template
    source, origin = find_template_source(template_name)
  File ""/home/tier/src/django/django/template/loader.py"", line 74, in find_template_source
    raise TemplateDoesNotExist, name
TemplateDoesNotExist: 500.html
}}}


This traceback text is seen in browser and in console as well."		closed	Uncategorized	dev		invalid			Unreviewed	0	0	0	0	0	0
