#21539 closed Cleanup/optimization (fixed)
Add example of modelformset_factory form argument to document
| Reported by: | alasdair | Owned by: | alasdair |
|---|---|---|---|
| Component: | Documentation | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
There are not any examples in the documentation of using the form argument of modelformset_factory.
Often, it is not required, because you can specify arguments like fields, excludes and widgets, for which there are examples.
However, if you want to write any custom validation, then it is necessary to specify form, and I think it would be good to provide an example.
Change History (6)
comment:1 by , 12 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 12 years ago
comment:3 by , 12 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:4 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Pull request https://github.com/django/django/pull/2012