Opened 18 years ago
Closed 18 years ago
#5353 closed (fixed)
FormSet validation hook(s)
| Reported by: | jkocherhans | Owned by: | Honza Král |
|---|---|---|---|
| Component: | Forms | Version: | newforms-admin |
| Severity: | Keywords: | sprintsept14 | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
We need a hook similar to the clean hook on newforms to do validation on all forms in a FormSet. This would allow min/max checks on the number of forms submitted and also allow a place to put unique_together style validation for inlines.
Attachments (2)
Change History (7)
comment:1 by , 18 years ago
| Status: | new → assigned |
|---|---|
| Triage Stage: | Unreviewed → Accepted |
comment:2 by , 18 years ago
| Owner: | changed from to |
|---|---|
| Status: | assigned → new |
by , 18 years ago
| Attachment: | 5353-BaseFormSet.clean.patch added |
|---|
by , 18 years ago
| Attachment: | 5353-BaseFormSet.clean_with_simple_tests.patch added |
|---|
added some tests and synced with 6245
comment:3 by , 18 years ago
| Keywords: | sprintsept14 added |
|---|
comment:5 by , 18 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
take one