Skip to content
Advertisement

Tag: makemigrations

“no such table” exception

In Django I added models into models.py. After manage.py makemigrations, manage.py migrate raised this exception: django.db.utils.OperationalError: no such table: auth_test_usertranslatorprofile I removed all old migrations and run makemigrations and migrate again which seemed to work. It didn’t help because when I click User customer profiles of User translator profiles it raises exception: models.py: admin.py: What is the problem? Answer I

Advertisement