Ticket #7726: doc_patch.diff

File doc_patch.diff, 724 bytes (added by elbarto, 14 years ago)

Patch to the documentation.

  • docs/ref/models/fields.txt

     
    441441
    442442.. attribute:: DecimalField.max_digits
    443443
    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.
    445446
    446447.. attribute:: DecimalField.decimal_places
    447448
    448     The number of decimal places to store with the number
     449    The number of decimal places to store with the number.
    449450
    450451For example, to store numbers up to 999 with a resolution of 2 decimal places,
    451452you'd use::
Back to Top