Ticket #427 (closed defect: fixed)
Fixtures not always loaded
|Reported by:||matt@…||Owned by:||andrew|
If an initial_data fixture exists for an app, then this will be loaded, but only if migrations are run for this app.
However, there is one situation where migrations for this app are run, but the fixture is not loaded: when the migration(s) are all 'used' as depends_on migrations. When this app comes to run its migration, it reports there is nothing to migrate, and no fixtures are loaded.
A workaround is to have a fake migration that does nothing, just so the fixtures will be loaded.