django 1.9: ProgrammingError: relation “users_user” does not exist

后端 未结 3 2212
忘掉有多难
忘掉有多难 2021-02-08 01:31

I am running into a ProgrammingError when doing migrate, I think it may be related to the use of django-allauth with a custom user. Here is what I do

1/ Create a fresh d

3条回答
  •  忘掉有多难
    2021-02-08 02:16

    FYI-

    I had this problem, and to resolve it I had to comment out all references to views.py in my urls.py and url_tenants.py files. Then, I ran makemigrations and got the database tables to create, then run migrate_schemas, and later uncomment the url files. Hope this helps someone.

提交回复
热议问题