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
WARNING: It will destroy Your current User/Group/Auth tables and entries connected with User model
Actually in django 1.9+
this is enough:
auth_*
and django_admin_log
tables using the following statement : DROP TABLE django_admin_log, auth_group, auth_group_permissions, auth_permission, auth_user, auth_user_groups, auth_user_user_permissions CASCADE;
django_admin
and auth
apps with:DELETE FROM django_migrations WHERE app='admin' or app='auth';
./manage.py migrate