mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fix #16570: Restore ability to have decimal fields where max_digits equals decimal_places. Thanks dcwatson and kenth.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
63ba472cc4
commit
efe4e2e517
5 changed files with 10 additions and 6 deletions
|
@ -450,7 +450,7 @@ A fixed-precision decimal number, represented in Python by a
|
|||
.. attribute:: DecimalField.max_digits
|
||||
|
||||
The maximum number of digits allowed in the number. Note that this number
|
||||
must be greater than ``decimal_places``, if it exists.
|
||||
must be greater than or equal to ``decimal_places``, if it exists.
|
||||
|
||||
.. attribute:: DecimalField.decimal_places
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue