Fixed #3814 -- Fixed HTML typo in docs/templates.txt regroup section. Thanks, djangorat@shitsoftware.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4834 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
9a2a9a9fe8
commit
e2937ef6a0
|
@ -737,6 +737,7 @@ The following snippet of template code would accomplish this dubious task::
|
||||||
<li>{{ item }}</li>
|
<li>{{ item }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</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.15`` gets converted to ``36.2``
|
||||||
* ``36`` gets converted to ``36``
|
* ``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:
|
many decimal places. For example:
|
||||||
|
|
||||||
* ``36.1234`` with floatformat:3 gets converted to ``36.123``
|
* ``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.1234`` with floatformat:-3 gets converted to ``36.123``
|
||||||
* ``36`` with floatformat:-4 gets converted to ``36``
|
* ``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``.
|
an argument of ``-1``.
|
||||||
|
|
||||||
get_digit
|
get_digit
|
||||||
|
|
Loading…
Reference in New Issue