Browse Source

Corrected example in models.DecimalField docs.

Beomsoo Kim 3 years ago
parent
commit
7e4a9a9f69
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/ref/models/fields.txt

+ 1 - 1
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)