Kaydet (Commit) 40d1a478 authored tarafından Timo Graham's avatar Timo Graham

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
üst ec539599
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment