Skip to content

Commit

Permalink
fix: Replace SortableAdminMixin by SortableAdminBase for `Workflo…
Browse files Browse the repository at this point in the history
…wAdmin`
  • Loading branch information
fsbraun authored Aug 27, 2024
1 parent f8fa4a6 commit b451889
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djangocms_moderation/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 = [
Expand Down

0 comments on commit b451889

Please sign in to comment.