Skip to content

wagtail-modeladmin is deprecated #484

@kesara

Description

@kesara
          > I see some major version upgrades, in particular, `wagtail-modeladmin`.

For wagtail-modeladmin, the changelog says that the breaking changes are dropping old versions of Django and Wagtail, but the versions in use here are still supported.

However, wagtail-modeladmin is deprecated, and the recommended upgrade path is to use snippets instead. There is only one use in the codebase, which should be an easy conversion to a snippet:

class MenuItemAdmin(OrderableMixin, ModelAdmin): # type: ignore
model = SecondaryMenuItem
menu_order = 900
menu_label = "Secondary Menu"
menu_icon = "list-ul"
add_to_settings_menu = True
list_display = ("title",)
ordering = ["sort_order"]
modeladmin_register(MenuItemAdmin)

Originally posted by @mgax in #483 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions