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
django.db.migrations.exceptions.InconsistentMigrationHistory: Migration dbsettings.0001_initial is applied before its dependency sites.0001_initial on database 'default'.
Instead of making sites mandatory, there is a migration that adapts itself to the app. Now I have to use a custom MIGRATIONS_MODULES setting with a sanitized migration in order to bypass this. I think that it would have been more consistent to make django.contrib.sites mandatory.
The text was updated successfully, but these errors were encountered:
Sites framework will stay optional.
Your error is strange since the migration lists its dependency on sites. Or have you added sites later, after you had performed initial migration for dbsettings?
The error:
Instead of making sites mandatory, there is a migration that adapts itself to the app. Now I have to use a custom MIGRATIONS_MODULES setting with a sanitized migration in order to bypass this. I think that it would have been more consistent to make django.contrib.sites mandatory.
The text was updated successfully, but these errors were encountered: