django add field to user 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