Why don't my south migrations work?

后端 未结 6 1591
长情又很酷
长情又很酷 2020-12-04 04:48

First, I create my database.

create database mydb;

I add \"south\" to installed Apps. Then, I go to this tutorial: http://south.aeracode.

6条回答
  •  时光说笑
    2020-12-04 05:02

    Just for future ref. If South is giving you any problems:

    1. Remove the migrations directories from your app directories
    2. Delete South_migrations from your database
    3. Run manage.py syncdb
    4. Go back to using South (e.g. './manage.py convert_to_south something, ./manage.py migrate ...')

提交回复
热议问题