I have a situation where I have a form with 8 fields.
- Two of which (First Name and Last Name) will go to the User model of django
- The remaining six will go to the UserProfile model of my application
Now keeping in mind that I have a single form on the page. How can I use the UpdateView of django to update two different models coupled to a single form?