django/tests
Carl Meyer 4397c587a4 Fixed #16770 -- Eliminated TemplateSyntaxError wrapping of exceptions. Thanks to Justin Myles-Holmes for report and draft patch.
Exceptions raised in templates were previously wrapped in TemplateSyntaxError
(in TEMPLATE_DEBUG mode only) in order to provide template source details on
the debug 500 page. The same debug information is now provided by annotating
exceptions rather than wrapping them. This makes catching exceptions raised
from templates more sane, as it's consistent in or out of DEBUG, and you can
catch the specific exception(s) you care about rather than having to also catch
TemplateSyntaxError and unwrap it.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16833 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-16 01:16:25 +00:00
..
modeltests Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
regressiontests Fixed #16770 -- Eliminated TemplateSyntaxError wrapping of exceptions. Thanks to Justin Myles-Holmes for report and draft patch. 2011-09-16 01:16:25 +00:00
templates Fixed #13897 -- Added tests for pagination feature of the generic object_list view. Thanks, d0ugal and SmileyChris. 2010-10-01 02:01:20 +00:00
runtests.py Fixed #16681 -- Refactored the invalid_models unit test so that it can be invoked manually. Thanks to Anthony Briggs for the report and patch. 2011-08-23 04:25:07 +00:00
test_sqlite.py Corrected the way databases were compared. This allows running the test suite with two in memory SQLite databases. 2010-11-19 08:08:08 +00:00
urls.py Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00