Creating a User Profile page using OneToOne field with User Model
问题 I'm currently using Django all-auth, and it has a /accounts/profile page which I want to create/populate with a form which updates user information. I have a Teacher field, which extends the User Model using OneToOne field. models.py class Teacher(models.Model): user = models.OneToOneField(User, on_delete=models.PROTECT, related_name='Teacher') bio = models.TextField(max_length=500, blank=True) availability = models.BooleanField(default=False) teacher_logo = models.FileField() This teacher