I have a model inhereting from Auth.User model, this way: class UsuarioWeb(User): # more fields And in Codeship when making tests, it fails with this error:
django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for [] This can happen if you are inheriting models from an app with migrations (e.g. contrib.auth) in an app with no migrations; see https://docs.djangoproject.com/en/1.9/topics/migrations/#dependencies for more (python3_venv)
I understand the error and it could be solved by a OneToOneField. So one question is, Am I doing right inheriting this way? And other, how to solve this error doing this way?