Currently I\'m using Django 1.11 and Python 3.6. I\'m attempting to create a custom user model with a new application that authenticates with LDAP, but i\'m greeted with th
For me helped split on two migration
AUTH_USER_MODEL = 'accounts.User') AUTH_USER_MODEL to settings.py and other connections with new tableBut it works for dev/production databases if you want to apply migrations from first in tests or another from scratch database creations you should "compact your migrations", for me it was next steps:
sqldump)django_migrations)manage.py makemigrationsmanage.py migratedjango_migrations in your dump (maybe some other django_* tables )