Opened 19 years ago
Closed 18 years ago
#4222 closed (wontfix)
Make ChangeList overridable in ModelAdmin
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | contrib.admin | Version: | newforms-admin |
| Severity: | Keywords: | override ChangeList | |
| Cc: | Triage Stage: | Design decision needed | |
| Has patch: | yes | Needs documentation: | yes |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
Make ChangeList overridable in ModelAdmin to be able to set default fillterspecs etc.
Attachments (1)
Change History (4)
by , 19 years ago
| Attachment: | changelist_override.diff added |
|---|
comment:1 by , 19 years ago
| Needs documentation: | set |
|---|---|
| Triage Stage: | Unreviewed → Design decision needed |
comment:2 by , 18 years ago
| Version: | newforms branch → newforms-admin |
|---|
comment:3 by , 18 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
I think that, instead of this approach, it'd be better to "split up" the various methods/options that ChangeList provides, and make bona fide hooks on ModelAdmin. The goal should be to abolish the concept of the ChangeList object entirely, so the ModelAdmin provides all of those hooks.
Note:
See TracTickets
for help on using tickets.
proposed patch