From 4c378026797ac39453f99c51cb05b22943cfecea Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Tue, 28 Dec 2010 21:56:33 +0000 Subject: [PATCH] [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 --- docs/ref/forms/fields.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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