Adding South to Django project, development & production

前端 未结 3 843
遇见更好的自我
遇见更好的自我 2020-12-28 10:10

Adding South to an existing Django project. I have it installed on both the development machine and the \"production\" server.

I\'ve done the following on the develo

3条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-28 10:30

    To make sure the south migration table exists,

    python manage.py syncdb
    

    and then

    python manage.py migrate myproject.myapp --fake 0001
    python manage.py migrate myproject.myapp
    

    That's what's worked for me. :)

提交回复
热议问题