Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wagtail.contrib.modeladmin No longer available in Wagtail 6.0 #20

Open
andrew-kyle92 opened this issue Mar 8, 2024 · 0 comments
Open

Comments

@andrew-kyle92
Copy link

andrew-kyle92 commented Mar 8, 2024

Wagtail announced that the ModelAdmin app will be removed in v6.0, but will still be available as an external package here, wagtail_modeladmin.

In wagtailgridder/wagtail_hooks.py, you're importing:
from wagtail.contrib.modeladmin.options import PageButtonHelper
This needs to be changed to:
from wagtail_modeladmin.options import PageButtonHelper
Once wagtail_modeladmin is installed.

Also, this needs to be changed as well:
from wagtail.contrib.modeladmin.options import ( ModelAdmin, ModelAdminGroup, modeladmin_register, )
To
from wagtail_modeladmin.options import ( ModelAdmin, ModelAdminGroup, modeladmin_register, )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant