Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to add phone number to django user model

class ExtendedUserExample(models.Model):
    user = models.OneToOneField(settings.AUTH_USER_MODEL, on_delete=models.CASCADE)
    created = models.DateTimeField(auto_now_add=True)
    phone_number = models.IntegerField(blank=True)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #phone #number #django #user #model
ADD COMMENT
Topic
Name
6+2 =