-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Am just moving a Wagtail project to 2.11.x from 2.10.x and hit this after upgrading:
File "/REDACTED/lib/python3.6/site-packages/wagtail_personalisation/wagtail_hooks.py", line 14, in <module>
from wagtail.admin.views.pages import get_valid_next_url_from_request
ImportError: cannot import name 'get_valid_next_url_from_request'
It looks like that helper function has moved and wagtail-personalisation hasn't caught up yet (am on 0.14.0)
See wagtail/wagtail@aa9c9d9#diff-08f48b8cf5b22209da61adb3fec00945b9849da17b25c1f78ad92c2c25165513 where get_valid_next_url_from_request was moved from the module/__init__ level to a .utils module
Also see wagtail/wagtail-localize@a1b8454 as an example of where a similar import issue was fixed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels