Why don't my south migrations work?

后端 未结 6 1588
长情又很酷
长情又很酷 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:22

    How do I get South to work and sync correctly with everything? The only thing I can think of is remove my app from INSTALLED_APPS, then run syncdb, then add it back on.

    I have used that fix with South troubles in the past. Not a pretty solution but very effective ;)

    But the main problem is that your order isn't correct. You should have run syncdb before the tutorial. Than it works properly.

提交回复
热议问题