how to add extra field in user model in django 2021 code example
Example: adding extra fields to user model django
class UserProfile(models.Model):
user = models.OneToOneField(User)
...#the fields you need
class UserProfile(models.Model):
user = models.OneToOneField(User)
...#the fields you need