summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeomsoo Kim <bluewhale8202@gmail.com>2021-12-13 15:20:35 +0900
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2021-12-13 07:20:56 +0100
commitc607ee949dc5541c8e946dfd7c96f7f721dd68be (patch)
tree4c917afb89f78c6de781dccdde73044986c3228d
parente39e5fa8e632c656341e4f7d12cc3c599af11e60 (diff)
[4.0.x] Corrected example in models.DecimalField docs.
Backport of 7e4a9a9f696574a18f5c98f34d5a88e254b2d394 from main
-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 281aea4660..bda42c3280 100644
--- a/docs/ref/models/fields.txt
+++ b/docs/ref/models/fields.txt
@@ -731,7 +731,7 @@ Has two **required** arguments:
The number of decimal places to store with the number.
-For example, to store numbers up to ``999`` with a resolution of 2 decimal
+For example, to store numbers up to ``999.99`` with a resolution of 2 decimal
places, you'd use::
models.DecimalField(..., max_digits=5, decimal_places=2)