Edited docs/templates.txt changes from [4830]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4832 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
45f9217cbd
commit
932928a1e2
@ -878,7 +878,7 @@ with
|
|||||||
**New in Django development version**
|
**New in Django development version**
|
||||||
|
|
||||||
Caches a complex variable under a simpler name. This is useful when accessing
|
Caches a complex variable under a simpler name. This is useful when accessing
|
||||||
an "expensive" method (e.g. one that hits the database) multiple times.
|
an "expensive" method (e.g., one that hits the database) multiple times.
|
||||||
|
|
||||||
For example::
|
For example::
|
||||||
|
|
||||||
@ -887,7 +887,7 @@ For example::
|
|||||||
{% endwith %}
|
{% endwith %}
|
||||||
|
|
||||||
The populated variable (in the example above, ``total``) is only available
|
The populated variable (in the example above, ``total``) is only available
|
||||||
inside of the ``{% with %}`` block.
|
between the ``{% with %}`` and ``{% endwith %}`` tags.
|
||||||
|
|
||||||
Built-in filter reference
|
Built-in filter reference
|
||||||
-------------------------
|
-------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user