diff options
| author | Beomsoo Kim <bluewhale8202@gmail.com> | 2021-12-13 15:20:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-13 07:20:35 +0100 |
| commit | 7e4a9a9f696574a18f5c98f34d5a88e254b2d394 (patch) | |
| tree | 4c177d9ce2d91f0358f64e4a15849ba137db8eea /docs/ref | |
| parent | 8a8c8797e81b338f3c93a5a4e2483916e68e4a54 (diff) | |
Corrected example in models.DecimalField docs.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/fields.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 402306668b..47c817d604 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -724,7 +724,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) |
