Skip to content
Advertisement

InvalidBasesError: Cannot resolve bases for []

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

JavaScript

I created this proxy for contrib.auth Group model to place it in my app in django admin:

JavaScript

So what can I do to fix this issue?

Advertisement

Answer

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.

User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement