django.db.migrations.exceptions.InconsistentMigrationHistory: Migration admin.0001_initial is applied before its dependency users.0001_initial on database 'default'.
解決:
刪除數(shù)據(jù)庫中除auth_user所有的表琢岩,再重新執(zhí)行投剥,python manage.py makemigrations;python manage.py migrate