from django.contrib.auth.models import User # Create your models here. class Profile(models.Model): user = models.OneToOneField(User, related_name='profile') date_of_birth = models.DateTimeField(blank=True, null=True) photo = models.ImageField(upload…