Ticket #11496: decimal-fields.diff

File decimal-fields.diff, 517 bytes (added by Adam Vandenberg, 13 years ago)

Document that min/max need to be decimals. Use text from IntegerField to eliminated missing apostrophe on "fields".

  • docs/ref/forms/fields.txt

    diff --git a/docs/ref/forms/fields.txt b/docs/ref/forms/fields.txt
    index f93120d..6ca36e3 100644
    a b Takes four optional arguments:  
    475475.. attribute:: DecimalField.max_value
    476476.. attribute:: DecimalField.min_value
    477477
    478     These attributes define the limits for the fields value.
     478    These control the range of values permitted in the field, and should be
     479    given as ``decimal.Decimal`` values.
    479480
    480481.. attribute:: DecimalField.max_digits
    481482
Back to Top