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

Not compatible with wagtail 6.0 #29

Open
maxbellec opened this issue Jun 24, 2024 · 0 comments · May be fixed by #30
Open

Not compatible with wagtail 6.0 #29

maxbellec opened this issue Jun 24, 2024 · 0 comments · May be fixed by #30

Comments

@maxbellec
Copy link

maxbellec commented Jun 24, 2024

As stated in the 6.0 changelog,

The wagtail.contrib.modeladmin app has been removed. If you wish to continue using it, it is available as the external package wagtail-modeladmin.

wagtailsvg/wagtail_hooks.py does import from from wagtail.contrib.modeladmin, so that code doesn't work in Wagtail 6.0.

The quick fix is just to add a dependency to wagtail-modeladmin and change the import to from wagtail_modeladmin .... The better fix is to use snippets instead.

@maxbellec maxbellec linked a pull request Jun 24, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant