I have a form that is based on the model User from django.contrib.auth.models
I have created another model called UserProfile which contains more information about the user.
In my forms.py I have a form that is based on:
class Meta:
model = User
How can I show in my html the fields that is owned by UserProfile class?
PS.: In UserProfile class I have already created a field user = models.OneToOneField(User)
Thanks in advance!