-1
歷史:我一直在關注「權威指南Django - 第二版」到第6章,這意味着到目前爲止我已經成功運行syncdb
一次。sycndb表已存在
解決方案:
1) As unix super user deleted ../mysql/data/books.
2) Added "II" to publisher and author tables in the models.py.
環境:
solaris 5.10, django-1.2.4, mysql-5.5.8, python-2.4.6
問:
What file must I Delete/Modify the next time I want to start from scratch?
(ie re-run syncdb for the first time)
感謝,
埃米利奧
爲什麼不刪除整個數據庫? – 2011-01-28 18:19:56