summaryrefslogtreecommitdiff
path: root/docs/ref/models
diff options
context:
space:
mode:
authorKaren Tracey <kmtracey@gmail.com>2011-11-12 19:53:56 +0000
committerKaren Tracey <kmtracey@gmail.com>2011-11-12 19:53:56 +0000
commitefe4e2e5178d2d6e6f710c3edee0d07cd6a60ab5 (patch)
tree6fcce3c85a3108189fba49d2a4e1f84fdc077886 /docs/ref/models
parent63ba472cc4a0ce34d28af74d11e8037a1b3d0f96 (diff)
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
Diffstat (limited to 'docs/ref/models')
-rw-r--r--docs/ref/models/fields.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index a5d66f8dcf..e0cf92f9c3 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -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