[Answered ]-Edit multiple Models using one form or view in Django

1👍

You can put the 2 forms in one template and Django will manage filling forms with the right fields (only exception is the same field name in 2 forms)

def view(request):
    if request.method == "GET":
        context["userform"]=UserForm()
        context["profileform"] =ProfileForm()
    else:
         userform = UserForm(request.POST)
         profileform=ProfileForm(request.POST)

Leave a comment