From 40d1a478fd10b3e41a9361482b1f978736f5256b Mon Sep 17 00:00:00 2001 From: Timo Graham Date: Tue, 28 Dec 2010 21:54:47 +0000 Subject: [PATCH] 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 --- 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 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