DEV Community

Vicente G. Reyes
Vicente G. Reyes

Posted on

Weird bug when creating a user in django

0

I have a weird bug in django where I have 2 different profile models for each user type and one profile model creates two profile models when I create a User.

Here's my code for the user model:

class User(TimeStampedModel, AbstractUser)
    class Types(models.TextChoices):
        """Default user for Side Project."""
        COMPANY =

Top comments (0)