I'm using Django for a project, and I want to use a couple of apps that extend the admin by subclassing the admin class.
How can I have them both sublass the admin class?
from django.contrib import admin
from testing.models import *
from reversion.admin import VersionAdmin
from moderation.admin import ModerationAdmin
class ItemAdmin(VersionAdmin):
pass
admin.site.register(Item, ItemAdmin)
class ItemAdmin(VersionAdmin, ModerationAdmin)what you want? (I doubt it.) If so, why doesn't it work?