Ticket #7726: doc_patch.diff
File doc_patch.diff, 724 bytes (added by , 14 years ago) |
---|
-
docs/ref/models/fields.txt
441 441 442 442 .. attribute:: DecimalField.max_digits 443 443 444 The maximum number of digits allowed in the number 444 The maximum number of digits allowed in the number. Note that this number 445 must be higher than ``decimal_places``, if it exists. 445 446 446 447 .. attribute:: DecimalField.decimal_places 447 448 448 The number of decimal places to store with the number 449 The number of decimal places to store with the number. 449 450 450 451 For example, to store numbers up to 999 with a resolution of 2 decimal places, 451 452 you'd use::