is there a nice way to add custom items to a subclassed ModelAdmin fieldset, ie have it keep all the defaults and just some extras.
(i know i could add all the defaults back myself, but was hoping for a nicer way)
is there a nice way to add custom items to a subclassed ModelAdmin fieldset, ie have it keep all the defaults and just some extras.
(i know i could add all the defaults back myself, but was hoping for a nicer way)
Untested, but may work:
class MyAdmin(BaseAdmin):
fieldsets = BaseAdmin.fieldsets + (...)
This would (if it works) add the other fieldsets after the inherited ones.