Skip to content
Advertisement

Django return, Profile matching query does nor exit

I’m new to Django and I’m working on an Instagram clone project as a beginner. And I didn’t get this error. I imported the user The Profile class is created here, and it is successfully migrated.

and this is my views.py

someone please answers this where is my mistake?

Advertisement

Answer

check in your database whether the profile of that user is created or not

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement