summaryrefslogtreecommitdiff
path: root/docs/ref/forms
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2010-12-28 21:56:33 +0000
committerTimo Graham <timograham@gmail.com>2010-12-28 21:56:33 +0000
commit4c378026797ac39453f99c51cb05b22943cfecea (patch)
treefa1fadc931117a739373f232d928d09c8ad3cd63 /docs/ref/forms
parent031eb9983e58eb144de7b8dbd0f186213e75de0c (diff)
[1.2.X] Fixed #11496 - note that DecimalField max/min_value should be type(decimal.Decimal); thanks adamv.
Backport of r15084 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15085 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/forms')
-rw-r--r--docs/ref/forms/fields.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
index 8f1de1f22b..39b0c17bc1 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -463,7 +463,8 @@ Takes four optional arguments:
.. attribute:: DecimalField.max_value
.. attribute:: DecimalField.min_value
- These attributes define the limits for the fields value.
+ These control the range of values permitted in the field, and should be
+ given as ``decimal.Decimal`` values.
.. attribute:: DecimalField.max_digits