I have two models in Django DRF. Should I add something to CustomUser model? Here the…
- User
I have two models in Django DRF. Should I add something to CustomUser model? Here the code:
__ #interests of user, like 'Python'[programming], 'web development', etc. class Interest(models.Model): name = models.CharField(max_length=100, unique=True)
codedef __str__(self): return self.nameclass CustomUser(AbstractUser): # Add additional fields here telegram = models.CharField(null=True, blank=True, max_length=64) discord = models.CharField(null=True, blank=True, max_length=64) whatsapp = models.IntegerField(null=True, blank=True, max_length=64)
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.