on-internet
← Community

django.db.utils.ProgrammingError: relation " " does not exist when running pytest

Stack Overflow ·

I am experiencing a very funny bug in Django. I have gone every way possible including resetting migrations. I have written a pytest for a Django project however the above error occurs when running. Accounts model class Account(AbstractBaseUser): email = models.EmailField(unique=True, verbose_name='email', max_length=255) phone = models.CharField(max_length=100, verbose_name='phone') first_name = models.CharField(max_length=100) last_name = models.CharField(max_length=100) id_number = models.CharField(max_length=100) role = models.CharField(max_length=100) date_joined = models.DateTimeField(au

Comments

Sign in or sign up to comment and upvote.

No comments yet.