Opened 16 years ago
Closed 16 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: | no | UI/UX: | no |
Description
http://docs.djangoproject.com/en/dev/ref/forms/fields/#decimalfield
"Takes four optional arguments:"
It should read two optional arguements as max_digits and decimal_places are required
Note:
See TracTickets
for help on using tickets.
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.