django.db.utils.ProgrammingError: relation already exists

前端 未结 12 829
一向
一向 2020-12-23 14:11

I\'m trying to set up the tables for a new django project (that is, the tables do NOT already exist in the database); the django version is 1.7 and the db back end is Postgr

12条回答
  •  无人及你
    2020-12-23 14:51

    Been facing a similar issue, eventually deleted all .py files in migration folder (django 1.7 creates one automatically), worked perfectly after that.

提交回复
热议问题