1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00
django/tests
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
..
modeltests Tiny doc fix. Thanks kizzo. 2010-12-14 00:37:42 +00:00
regressiontests Fixes #7817 and #9456. 2010-12-18 02:50:26 +00:00
templates
runtests.py Fixed #12323 and #11582 -- Extended the ability to handle static files. Thanks to all for helping with the original app, the patch, documentation and general support. 2010-10-20 01:33:24 +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 #14507 -- Corrected the logic of the URL helpers and view of staticfiles to actual work like documented (only when settings.DEBUG is True). Thanks for the report and initial patch, mbi. 2010-10-21 03:16:41 +00:00