Django update model when form previously wasn't filled
I'm building a matrimonial website in Django. I have multiple forms that users need to fill in. Forms are distributed across pages.
There's an 'Edit Profile' option that I have added that can be accessed after the user has logged in. The problem is that if a user doesn't fill out a form for some reason, I face an exception when I try to get the said user's profile data.
UserProfile.objects.get(user_model_for_profile = user)
What do I do?