Django syncdb and migrate

前端 未结 4 877
春和景丽
春和景丽 2020-12-28 18:41

I\'m moving django website from one server to another, and I tried to syncdb, so i\'ve put python manage.py syncdb, and i get this output:

Synci         


        
4条回答
  •  北海茫月
    2020-12-28 19:30

    $python manage.py syncdb --migrate
    

    this migrates what has to be migrated

    worked for me (django 1.4)

提交回复
热议问题