#12346 closed Bug (fixed)
Docs should cover validaton of model inline formsets
| Reported by: | johnsmith | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.1 |
| Severity: | Normal | Keywords: | inlineformset_factory, BaseInlineFormSet validation |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
http://docs.djangoproject.com/en/dev/topics/forms/modelforms/#inline-formsets
Should mention that BaseInlineFormSet should be subclassed in order to add a custom clean method
Attachments (1)
Change History (9)
comment:1 by , 16 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 15 years ago
| Severity: | → Normal |
|---|---|
| Type: | → Bug |
by , 12 years ago
| Attachment: | 12346.diff added |
|---|
comment:5 by , 12 years ago
| Has patch: | set |
|---|
comment:6 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Good idea, wrong place. The first line of the InlineFormSet docs say that InlineFormSets are "a small abstraction layer on top of model formsets", so the right place to document this is in ModelFormSets. There currently isn't any mention of the fact that ModelFormSets call the clean method on constituent forms.