django-dbsettings
django-dbsettings copied to clipboard
django-dbsettings prevents django.contrib.sites from being installed.
The error:
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.
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?