summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/templates.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/templates.txt b/docs/templates.txt
index 7d86f686d2..8ab383c461 100644
--- a/docs/templates.txt
+++ b/docs/templates.txt
@@ -737,6 +737,7 @@ The following snippet of template code would accomplish this dubious task::
<li>{{ item }}</li>
{% endfor %}
</ul>
+ </li>
{% endfor %}
</ul>
@@ -987,7 +988,7 @@ place -- but only if there's a decimal part to be displayed. For example:
* ``36.15`` gets converted to ``36.2``
* ``36`` gets converted to ``36``
-If used with a numeric integer argument, ``floatformat`` rounds a number to that
+If used with a numeric integer argument, ``floatformat`` rounds a number to that
many decimal places. For example:
* ``36.1234`` with floatformat:3 gets converted to ``36.123``
@@ -1000,7 +1001,7 @@ For example:
* ``36.1234`` with floatformat:-3 gets converted to ``36.123``
* ``36`` with floatformat:-4 gets converted to ``36``
-Using ``floatformat`` with no argument is equivalent to using ``floatformat`` with
+Using ``floatformat`` with no argument is equivalent to using ``floatformat`` with
an argument of ``-1``.
get_digit