django admin error - Unknown column 'django_content_type.name' in 'field list'

后端 未结 7 1013
广开言路
广开言路 2021-01-17 15:35

My django project had a working admin page, but all of the sudden I started receiving: \"Unknown column \'django_content_type.name\' in \'field list\'\" whenev

7条回答
  •  既然无缘
    2021-01-17 16:18

    it's not django error, it's MySQL. I just started a project, but changed django version from 1.8 to 1.7 and got this error. So, I droped all table and run migrate. But you don't need to drop all tables, just part, may be just one.

提交回复
热议问题