django/tests/regressiontests/templates
Luke Plant 10d90cba83 Fixed #16935 - misleading message if AttributeError escapes during SimpleTemplateResponse.render
Thanks to isagalaev for the report.

As discussed on django-devs, this reverts some of the changes in [16568]
i.e.  the addition of `SimpleTemplateResponse.__getattr__`, because this
makes it much harder to debug the common case of an AttributeError somewhere
during the rendering of a SimpleTemplateResponse.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-09-30 11:46:23 +00:00
..
eggs Fixed #13334: Restored ability to load template tags from eggs. Again thanks Ramiro and metzen for pointers on how to find out if a module loaded from an egg has a particular submodule, and Russ for review. 2010-04-15 19:57:09 +00:00
templates Fixed #16677 -- Fixed the future version of the ssi template tag to work with template file names that contain spaces. Note that this fix cannot be applied to the currently deprecated version of the ssi tag since it requires an unquoted literal as parameter. Many thanks to Aymeric Augustin for the report and patch. 2011-08-25 23:02:15 +00:00
templatetags Fixed #13956 -- Enabled `*args` and `**kwargs` support for `simple_tag`, `inclusion_tag` and `assignment_tag`. Many thanks to Stephen Burrows for the report and initial patch, to Gregor Müllegger for the initial tests, to SamBull for the suggestions, and to Jannis Leidel for the review and PEP8 cleanup. 2011-09-27 12:15:15 +00:00
__init__.py Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
alternate_urls.py Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
callables.py Fixed #15791 - method to signal that callable objects should not be called in templates 2011-04-19 22:06:19 +00:00
context.py Converted templates doctests into unittests. We have always been at war with doctests. 2010-11-04 04:47:05 +00:00
custom.py Fixed #13956 -- Enabled `*args` and `**kwargs` support for `simple_tag`, `inclusion_tag` and `assignment_tag`. Many thanks to Stephen Burrows for the report and initial patch, to Gregor Müllegger for the initial tests, to SamBull for the suggestions, and to Jannis Leidel for the review and PEP8 cleanup. 2011-09-27 12:15:15 +00:00
filters.py Fixed #16676 -- Corrected the behavior of the 'add' template filter to return an empty string instead of the given value unchanged in the case of an invalid use. Thanks to dtrebbien for the report and to Aymeric Augustin for the patch. 2011-09-18 08:33:39 +00:00
loaders.py Fixed #16866 -- Clearer error message if empty list is passed to select_template. Thanks Silver_Ghost for report and patch. 2011-09-21 14:20:18 +00:00
models.py Refs #2333 - Modified runtests script to use new testing framework. Migrated existing tests to use Django testing framework. All the 'othertests' have been migrated into 'regressiontests', and converted into doctests/unittests, as appropriate. 2006-08-27 13:59:47 +00:00
nodelist.py 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
parser.py Converted templates doctests into unittests. We have always been at war with doctests. 2010-11-04 04:47:05 +00:00
response.py Fixed #16935 - misleading message if AttributeError escapes during SimpleTemplateResponse.render 2011-09-30 11:46:23 +00:00
smartif.py Fixed #16225 -- Removed unused imports. Many thanks to Aymeric Augustin for the work on the patch and Alex for reviewing. 2011-07-13 09:35:51 +00:00
tests.py 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
unicode.py Converted templates doctests into unittests. We have always been at war with doctests. 2010-11-04 04:47:05 +00:00
urls.py Fixed #14675 -- Completed removal of `from django.conf.urls.default import *` usage. 2011-09-11 22:36:16 +00:00
views.py Fixed #15083 -- Corrected the order of TemplateResponse middleware handling, ensuring that custom URLConfs are valid, and that ResponseMiddleware is invoked if the TemplateResponseMiddleware causes errors. Thanks to Sayane for the report. 2011-01-16 15:38:03 +00:00