django1/tests/regressiontests/templates
Chris Beaven 3ae9117c46 Fixes #7817 and #9456.
- The include tag now has a 'with' option to include to provide extra context
  vairables to the included template.

- The include tag now has an 'only' option to exclude the current context
  when rendering the included template.

- The with tag now accepts multiple variable assignments.

- The with, include and blocktrans tags now use a new keyword argument format
  for variable assignments (e.g. `{% with foo=1 bar=2 %}`).

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-18 02:50:26 +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 #14389, #9666 -- Started the migration path to make the first argument to url and ssi template tags syntactically consistent with other tags. Thanks to Sean Brant for the draft patch. 2010-11-20 06:22:28 +00:00
templatetags Add file mistakenly left out of r12986. Refs #13334. 2010-04-15 20:36:00 +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
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 Converted templates doctests into unittests. We have always been at war with doctests. 2010-11-04 04:47:05 +00:00
filters.py Fixed #13765 - 'safe' parameter for urlencode filter 2010-09-13 23:01:34 +00:00
loaders.py Fixed #14508 - test suite silences warnings. 2010-11-11 15:06:20 +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 Fixed #12815 -- Added TemplateResponse, a lazy-evaluated Response class. Thanks to Simon Willison for the original idea, and to Mikhail Korobov and Ivan Sagalaev for their assistance, including the draft patch from Mikhail. 2010-12-07 13:57:01 +00:00
smartif.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
tests.py Fixes #7817 and #9456. 2010-12-18 02:50:26 +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 Added a couple of extra tests to ensure url tag robustness. These are an 2008-08-31 17:29:49 +00:00