Add 'exclude' option to BaseModelAdmin
ModelForm features an 'exclude' attribute which is great when you want to exclude only a few fields from the model's form. This has many advantages as it avoids specifying of all the fields that you *do* want to display, and if a field is later added to the model it will automatically be picked up in the form without having to explicitly add it again to the form's field list.
Unfortunately, ModelAdmin doesn't have that. It'd be great to have it, both for consistency and ease of use.
Change History
(9)
milestone: |
→ 1.0 beta
|
Summary: |
Add 'exclude' attribute to ModelAdmin → Add 'exclude' declarative attribute to ModelAdmin
|
Summary: |
Add 'exclude' declarative attribute to ModelAdmin → Add 'exclude' option to BaseModelAdmin
|
milestone: |
→ post-1.0
|
Needs documentation: |
set
|
Needs tests: |
set
|
Triage Stage: |
Unreviewed → Accepted
|
Cc: |
bthomas@… added
|
Needs documentation: |
unset
|
Needs tests: |
unset
|
milestone: |
post-1.0 → 1.0
|
Resolution: |
→ fixed
|
Status: |
new → closed
|
'option' seems to be the correct term for this.