Weird bug when creating a user in django

Vicente G. Reyes - Jan 8 - - Dev Community
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 =
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player