-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