Commit 4c378026 authored by Timo Graham's avatar Timo Graham
Browse files

[1.2.X] Fixed #11496 - note that DecimalField max/min_value should be...

[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
parent 031eb998
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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