I am using django-social-auth. Everything works fine except that profile model is not updated. I have a OneToOneField with USER table. Whenver a user registers on site using e-mail, his profile is created automatically. However when login with social credentials, profile is not automatically created. What changes needs to be done for this to work. Thank you.
Profile.py
class Profile(models.Model):
user=models.OneToOneField(settings.AUTH_USER_MODEL)
contact_number= models.CharField(max_length=250,null=True,blank=True)
official_email= models.EmailField(null=True,blank=True)
website= models.CharField(max_length=250,null=True,blank=True)
address = models.TextField(null=True,blank=True)
city = models.CharField(max_length=250,null=True,blank=True)
In Urls:
in settings
Rest you can find on: Bogotobogo