migration will fail with dependencies issues, to resolve (or install clean then makemigrations then migrate): https://stackoverflow.com/questions/44651760/django-db-migrations-exceptions-inconsistentmigrationhistory 1. Comment out django.contrib.admin in your INSTALLED_APPS settings 2. Comment out admin path in urls.py 3. Run migration 4. Uncomment the changes in step 1 & 2. deleting a user account in the admin panel will cause foreign key errors, to resolve, run the following command (or install clean then makemigrations then migrate): https://stackoverflow.com/questions/34109251/insert-or-update-on-table-django-admin-log-violates-foreign-key-constraint-whe/34109293#34109293 ./manage.py migrate admin 0001 echo "DROP TABLE django_admin_log;" | ./manage.py dbshell ./manage.py sqlmigrate admin 0001 | python manage.py dbshell ./manage.py migrate admin