summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/templates.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/templates.txt b/docs/templates.txt
index 005784a5eb..7d86f686d2 100644
--- a/docs/templates.txt
+++ b/docs/templates.txt
@@ -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
-------------------------