Opened 8 years ago

Closed 8 years ago

#10951 closed (invalid)

DecimalField takes two optional not four as reported in docs

Reported by: Dougal Matthews Owned by: nobody
Component: Documentation Version:
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


"Takes four optional arguments:"

It should read two optional arguements as max_digits and decimal_places are required

Change History (2)

comment:1 Changed 8 years ago by Tim Graham

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

I think you may have confused model and form fields. I think max_digits and decimal_places are required on the model field, but are optional on the form field, as documented.

comment:2 Changed 8 years ago by Alex Gaynor

Resolution: invalid
Status: newclosed

Timo is correct.

Note: See TracTickets for help on using tickets.
Back to Top