django syncdb and an updated model

后端 未结 7 1312
暗喜
暗喜 2020-12-22 18:43

I have recently updated my model, added a BooleanField to it however when I do python manage.py syncdb, it doesn\'t add the new field to the database for the mo

相关标签:
7条回答
  • 2020-12-22 19:33

    As suggested in top answer, I tried using South, and after an hour of frustration with obscure migration errors decided to go with Django Evolution instead.

    I think it's easier to get started with than South, and it worked perfectly the first time I typed ./manage.py evolve --hint --execute, so I'm happy with it.

    0 讨论(0)
提交回复
热议问题