3👍
✅
This command is wrong:
python manage.py schemamigration south --initial
schemamigration
creates files that describe the migration. South already ships its own migration files with the release.
What you need is to create the migrations for your own app:
python manage.py schemamigration logins --initial
Then, I would reinstall south, just it case it broke when you created that migration:
pip uninstall south && pip install south
EDIT A pip uninstall doesn’t remove that migration so you need to delete those files manually: rm -rf /<OS dependent>/python2.7/site-packages/south
Finally apply the migrations:
python manage.py syncdb && python manage.py migrate
Source:stackexchange.com