Migration data failed

No changes detected
possible causes:
1.settings in Django database configuration problems
2.migration missing __init__.py file
3. The application is not registered
in the original database, re-run the migration, generating originally existed in the database table be sure to remove two local
record 1.migration in __pycache__ of the table
2. the database has a django_migrations table with records in the table appear in the database had records of the table should be deleted ( If the new database do not have control, because it is new, so there will be no remaining record)

Guess you like

Origin www.cnblogs.com/hui-code/p/12006181.html