Django.db.migrations.exceptions.InconsistentMigrationHistory: Миграция socialaccount.0001_initial
I was trying to build logins with Google. I added django.contrib.sites
in INSTALLED_APPS image.
Когда я запускаю python manage.py migrate на моем проекте Django, я получаю следующую ошибку:
django.db.migrations.exceptions.InconsistentMigrationHistory: Migration socialaccount.0001_initial is applied before its dependency sites.0001_initial on database 'default'.
Как я могу решить эту проблему?