diff --git a/djangocms_moderation/admin.py b/djangocms_moderation/admin.py index f9320fa2..f5c2b031 100644 --- a/djangocms_moderation/admin.py +++ b/djangocms_moderation/admin.py @@ -16,7 +16,7 @@ from cms.toolbar.utils import get_object_preview_url from cms.utils.helpers import is_editable_model -from adminsortable2.admin import SortableAdminMixin, SortableInlineAdminMixin +from adminsortable2.admin import SortableAdminBase, SortableInlineAdminMixin from treebeard.admin import TreeAdmin from . import constants, signals @@ -1011,7 +1011,7 @@ def get_extra(self, request, obj=None, **kwargs): @admin.register(Workflow) -class WorkflowAdmin(SortableAdminMixin, admin.ModelAdmin): +class WorkflowAdmin(SortableAdminBase, admin.ModelAdmin): inlines = [WorkflowStepInline] list_display = ["name", "is_default"] fields = [