Skip to content

Commit

Permalink
Fixed #14965 -- Added release notes about changes to builtin template…
Browse files Browse the repository at this point in the history
… tags

git-svn-id: http://code.djangoproject.com/svn/django/trunk@15765 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Mar 6, 2011
1 parent 299874c commit 75cd087
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/releases/1.3.txt
Expand Up @@ -133,6 +133,23 @@ can also add special translator comments in the source.
For more information, see :ref:`contextual-markers` and For more information, see :ref:`contextual-markers` and
:ref:`translator-comments`. :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 TemplateResponse
~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~


Expand Down

0 comments on commit 75cd087

Please sign in to comment.