summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2010-12-28 21:54:47 +0000
committerTimo Graham <timograham@gmail.com>2010-12-28 21:54:47 +0000
commit40d1a478fd10b3e41a9361482b1f978736f5256b (patch)
treed61b81e6c31494fb1106ca222500b63ddf662776 /docs/ref
parentec539599f796fe206a4649cb23a192ca6d782d7d (diff)
Fixed #11496 - note that DecimalField max/min_value should be type(decimal.Decimal); thanks adamv.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15084 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref')
-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 95cce477a9..d63fc4d7a4 100644
--- a/docs/ref/forms/fields.txt
+++ b/docs/ref/forms/fields.txt
@@ -460,7 +460,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