Bug Fixes
Details
Migration 0001_initial.py hardcoded to="wagtailimages.image" as the FK target for image fields. When a consuming project uses a custom WAGTAILIMAGES_IMAGE_MODEL (e.g., "media.CustomImage"), Django detects a mismatch and generates an unwanted migration inside the installed package directory, causing migration conflicts.
Now uses getattr(settings, "WAGTAILIMAGES_IMAGE_MODEL", "wagtailimages.Image") with migrations.swappable_dependency() so Django recognizes the FK target as swappable.
Full Changelog: v0.5.0...v0.5.1