Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DoesNotExist at / Profile matching query does not exist. #3

Open
Laudarisd opened this issue Jul 29, 2022 · 4 comments
Open

DoesNotExist at / Profile matching query does not exist. #3

Laudarisd opened this issue Jul 29, 2022 · 4 comments

Comments

@Laudarisd
Copy link

Hi, I went through your tutorial. it was awesome.
I git clone your repository, seems it's not working.

Can you give me some idea to fix this issu:

DoesNotExist at /
Profile matching query does not exist.

I guess error is from views.py.
Thanks

@Eng-Ahmed-Elsayed
Copy link

Eng-Ahmed-Elsayed commented Aug 15, 2022

Its happen because the user doesn't have a profile object by default so you need to go to the admin page then make profile object for the user manually.
Solution: https://stackoverflow.com/questions/63897883/django-create-new-objects-when-new-user-is-registered

@Faria122
Copy link

Faria122 commented Oct 4, 2024

Hey, I am having the same issue. Did you solve this?

@Laudarisd
Copy link
Author

It's been quite a while. If I recall correctly, I had to manually create a profile for the admin.

@Faria122
Copy link

Faria122 commented Oct 4, 2024

In the code where do I have to change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants