I use the Django built-in models.User as basic user model, plus a model called Profile containing other user information, which has a one-to-one field relation to User.
class Profile:
user = models.OneToOneField(User)
nickname = models.CharField()
bio = models.CharField
I would like to use modelform for both model in the register view.
And in the register page, the html form literally contains field in both User and Profile, and this form will be submitted with all params in the POST, which means in the view function I have to handle two modelform with one POST params dictionary.
I have no idea how to implement this view function.