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)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more