From e2937ef6a097aeac7f56c5cf0081beda5df43a31 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 27 Mar 2007 22:30:59 +0000 Subject: [PATCH] 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 --- docs/templates.txt | 5 +++-- 1 file 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::
  • {{ item }}
  • {% endfor %} + {% endfor %} @@ -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