[Answered ]-Django form not overwriting previous entry

2👍

✅

You should be passing the UserProfile object as the instance, not the user.

new_api_form = ChangeApiForm(request.POST, instance=request.user.userprofile)

Leave a comment