mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
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**
|
||||
|
||||
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::
|
||||
|
||||
@ -887,7 +887,7 @@ For example::
|
||||
{% endwith %}
|
||||
|
||||
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
|
||||
-------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user