Opened 11 years ago
Closed 11 years ago
#22119 closed Cleanup/optimization (invalid)
ModelForm.Meta.exclude not discouraged in documentation
Reported by: | Sasha Romijn | Owned by: | Sasha Romijn |
---|---|---|---|
Component: | Documentation | Version: | 1.6 |
Severity: | Normal | Keywords: | nlsprint14 |
Cc: | eromijn@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The 1.6 release notes state:
For this reason, ..., and using the Meta.exclude option is strongly discouraged. Instead, all fields that are intended for inclusion in the form should be listed explicitly in the fields attribute.
However, this discouragement is not mentioned in the documentation on https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#modelform. It should be added.
Change History (2)
comment:1 by , 11 years ago
Cc: | added |
---|---|
Needs documentation: | set |
Owner: | changed from | to
Status: | new → assigned |
comment:2 by , 11 years ago
Resolution: | → invalid |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
I appear to have misread or misinterpreted. This is actually there...