You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried this without localize and got the same problem. I had to tweak dumpdata to include -e wagtailsearch.indexentry and got the same error. So this is a core issue :/
tl;dr -
when you run manage.py migrate, the Root page (pk=1) gets created. the dump data also has:
Issue Summary
Having wagtail-localize breaks dump/load data
Steps to Reproduce
wagtail start mysite .
python manage.py createsuperuser
INSTALLED_APPS
python manage.py runserver
, login and publish subpage below root pagerm db.sqlite3
python manage.py migrate
python manage.py loaddata data.json
Error:
django.db.utils.IntegrityError: Problem installing fixture 'data.json': Could not load wagtailcore.Page(pk=1): constraint failed
Technical details
The text was updated successfully, but these errors were encountered: