Why don't my south migrations work?

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

    This seems obvious, but I'd highly recommend reading the docs.

    Even after reading the answers to this question I struggled to understand how to use South effectively.

    That all changed of course the day I read the docs and you should too, South is simpler to use than you might think.

    http://south.aeracode.org/docs/about.html

    http://south.aeracode.org/docs/tutorial/index.html

    http://south.aeracode.org/docs/convertinganapp.html#converting-an-app

    I also found this useful:

    http://www.djangopro.com/2011/01/django-database-migration-tool-south-explained/

    And make sure you read Jeff Atwood's Coding Horror articles on database version control.

提交回复
热议问题