summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/fields.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt
index 0399eccf67..583dfb499c 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -437,11 +437,12 @@ A fixed-precision decimal number, represented in Python by a
.. attribute:: DecimalField.max_digits
- The maximum number of digits allowed in the number
+ The maximum number of digits allowed in the number. Note that this number
+ must be greater than ``decimal_places``, if it exists.
.. attribute:: DecimalField.decimal_places
- The number of decimal places to store with the number
+ The number of decimal places to store with the number.
For example, to store numbers up to 999 with a resolution of 2 decimal places,
you'd use::