1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00

Corrected example in models.DecimalField docs.

This commit is contained in:
Beomsoo Kim 2021-12-13 15:20:35 +09:00 committed by GitHub
parent 8a8c8797e8
commit 7e4a9a9f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)