[4.0.x] Corrected example in models.DecimalField docs.

Backport of 7e4a9a9f69 from main
This commit is contained in:
Beomsoo Kim 2021-12-13 15:20:35 +09:00 committed by Mariusz Felisiak
parent e39e5fa8e6
commit c607ee949d
1 changed files with 1 additions and 1 deletions

View File

@ -731,7 +731,7 @@ Has two **required** arguments:
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 For example, to store numbers up to ``999.99`` with a resolution of 2 decimal
places, you'd use:: places, you'd use::
models.DecimalField(..., max_digits=5, decimal_places=2) models.DecimalField(..., max_digits=5, decimal_places=2)