#13107 closed (fixed)
model_formsets test fails to validate models
Reported by: | Martin v. Löwis | Owned by: | nobody |
---|---|---|---|
Component: | Uncategorized | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Running model_formsets in r12773 gives
Error: One or more models did not validate:
model_formsets.bookwithcustompk: "my_pk": DecimalFields require a "decimal_places" attribute that is a positive integer.
Change History (3)
comment:1 by , 15 years ago
milestone: | → 1.2 |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This validation was added in r12768/r12769. The model it is complaining about has a decimal_places arg set to 0. 0 seems like a valid value to me so I think it's the new validation that is broken.