Bug? #1146 - Table 'xxx.xxxxx' doesn't exist

前端 未结 18 1782
春和景丽
春和景丽 2020-11-29 05:49

I am using windows XP. I am creating a table in phpMyAdmin using its built-in create table feature, my database name is ffffd.

It generates the following

18条回答
  •  感情败类
    2020-11-29 06:27

    The reason I was facing this was because I had two "models.py" files which contained slightly different fields. I resolved it by:

    1. deleting one of the models.py files
    2. correcting references to the deleted file
    3. then running manage.py syncdb

提交回复
热议问题