django/tests/regressiontests/templates
Luke Plant e9d2763947 Fixed #15572 - include with "only" option discards context properties (such as autoescape)
Thanks to dfoerster for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15795 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-10 18:42:24 +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 #15502 -- Ensure that nested TemplateDoesNotExist errors are propegated with a meaningful error message when loaded using select_template. Thanks to jaylett for the report, and GDorn for the patch. 2011-03-03 00:41:40 +00:00
templatetags Fixed #14046 -- Made {% include %} behave the same, regardless of whether the template included is named by variable or constant string. Thanks to defcube for the report, and George Karpenkov for the draft patch. 2011-02-04 17:10:21 +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 #15012 -- Added post-rendering callbacks to TemplateResponse so that decorators (in particular, the cache decorator) can defer processing until after rendering has occurred. Thanks to Joshua Ginsberg for the draft patch. 2011-01-24 14:24:35 +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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
filters.py Fixed #13765 - 'safe' parameter for urlencode filter 2010-09-13 23:01:34 +00:00
loaders.py Ensure render_to_string leaves the context instance stack in the state it was originally passed in. 2011-02-20 04:55:11 +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 #12991 -- Added unittest2 support. Thanks to PaulM for the draft patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. 2010-10-11 12:55:17 +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 Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
smartif.py Updated test assertions that have been deprecated by the move to unittest2. In summary, this means: 2011-03-03 15:04:39 +00:00
tests.py Fixed #15572 - include with "only" option discards context properties (such as autoescape) 2011-03-10 18:42:24 +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 #13275 -- Modified the parsing logic of the {% url %} tag to avoid catastrophic backtracking. Thanks to SmileyChris for the patch. 2010-04-10 07:35:31 +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