Opened 18 years ago

Closed 18 years ago

#4222 closed (wontfix)

Make ChangeList overridable in ModelAdmin

Reported by: Øyvind Saltvik <oyvind@…> 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)

changelist_override.diff (881 bytes ) - added by Øyvind Saltvik <oyvind@…> 18 years ago.
proposed patch

Download all attachments as: .zip

Change History (4)

by Øyvind Saltvik <oyvind@…>, 18 years ago

Attachment: changelist_override.diff added

proposed patch

comment:1 by Simon G. <dev@…>, 18 years ago

Needs documentation: set
Triage Stage: UnreviewedDesign decision needed

comment:2 by Adrian Holovaty, 18 years ago

Version: newforms branchnewforms-admin

comment:3 by Adrian Holovaty, 18 years ago

Resolution: wontfix
Status: newclosed

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.
Back to Top