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

Details not found #18

Open
Hardeepsingh980 opened this issue Mar 26, 2020 · 1 comment
Open

Details not found #18

Hardeepsingh980 opened this issue Mar 26, 2020 · 1 comment

Comments

@Hardeepsingh980
Copy link

Hey i was trying to use your package in my project. But when i go to the url :- http://127.0.0.1:8000/invite/ which i have set in urls.py, it gives me response as

{
    "detail": "Not found."
}

The exceptions like active user cannot be invited and email field is invalid are working. But the valid email return this response. Can you please respond as soon as possible?
Thanks in advance. BTW great package,

@remybar
Copy link

remybar commented Oct 19, 2022

I know it's too late but it looks like the invited user must already exist as a User in the database because of the following line in this module:
user = get_object_or_404(get_user_model(), email=email)

It seems a bit strange to me as the goal of inviting someone is to ask him to sign up to our platform 🤔

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

2 participants