diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2011-03-06 07:14:32 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2011-03-06 07:14:32 +0000 |
| commit | 75cd087c7963ab1ac47b51ccd81911438abbbba5 (patch) | |
| tree | 248d81bd2ff3311d37ec913b2340c1e0ed86803b /docs | |
| parent | 299874cbe1f3267aae61c91874d2512d6cf6e2d3 (diff) | |
Fixed #14965 -- Added release notes about changes to builtin template tags
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.3.txt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/releases/1.3.txt b/docs/releases/1.3.txt index 4b6d8d9c06..e5e37971f8 100644 --- a/docs/releases/1.3.txt +++ b/docs/releases/1.3.txt @@ -133,6 +133,23 @@ can also add special translator comments in the source. For more information, see :ref:`contextual-markers` and :ref:`translator-comments`. +Improvements to built-in template tags +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +A number of improvements have been made to Django's built-in template tags: + + * The :ttag:`include` tag now accepts a ``with`` option, allowing + you to specify context variables to the included template + + * The :ttag:`include` tag now accepts a ``only`` option, allowing + you to exclude the current context from the included context + + * The :ttag:`with` tag now allows you to define multiple context + variables in a single :ttag:`with` block. + + * The :ttag:`load` tag now accepts a ``from`` argument, allowing + you to load a single tag or filter from a library. + TemplateResponse ~~~~~~~~~~~~~~~~ |
