fix: update ALL site records in seed, not just is_default_site #9
Reference in New Issue
Block a user
Delete Branch "fix/seed-default-site"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wagtail's initial migration creates a
localhost:80site. Wagtail matches incoming requests by hostname before ever checkingis_default_site, so updating only theis_default_siterecord leftlocalhost:80still pointing at the Welcome page.Fix: update
root_pageon every existing site record.