InvalidBasesError: Cannot resolve bases for []

后端 未结 14 958
遥遥无期
遥遥无期 2021-02-03 23:03

When I run tests I get this error during database initialization:

django.db.migrations.state.InvalidBasesError: Cannot resolve bases for [

        
14条回答
  •  生来不讨喜
    2021-02-03 23:33

    After a lot of digging on this the only thing that worked for me was

    comment out the offending apps, run migrations, then add them in again.

    Just a workaround but hopefully it helps somebody.

提交回复
热议问题