I configed the email settings and could receive registration email, forgot-password email etc. successfully. But, I can not receive the review notification email when I input reviewer email. I still do not find any solution in the userguide. So How do I fix this?
Related
Instagram comment webhook does not provide the username of the account at which the comment was made. The webhook contains the username of the person who made the comment, but It does not contain username of the profile at which comment was made.
How can I get it so that I know at which instagram account the comment was made.
In register class I wrote method that raise_exception is true and check email must be unique because I used jwt authentication with email.
When user perform this method for one time ,he get email confirmation .if user don't confirm and run register method for second time .he occure error email is registered. Because this email for one time has been registered in data base.
How can I handle this issue?
I am trying to register the user by sending an OTP to their mail. Consider the following usual:
the user posts a request for registration with an email, password. (email mapped to the username of Django).
Django creates the user and the user gets the OTP for verification. If the user verifies, an 'is_verified' field will be set to true.
Now, If the user doesn't verify himself with the OTP, I can't get around the following issues. Please suggest a workaround.
---> Any other user can now not use the same email for registration, as email already exists in the database.
I want the user to be updated in the database only after the user has successfully verified the otp.
What is the best way to implement django 2 login and registration like instagram.com. user can register with username and email or phone and password. after register user can login with email address, phone number or username.
Thanks
A great thing about Django is that it comes with a User model already. You just have to apply it to your site.
Check out the user documentation Here
This will give you all the fields you can use, and how to make a member style website
I want to create username and password when I press on submit button of registration form. Where full name of user is entered by the user. And then username and password should be sent to the user.
Can anyone suggest how to do?
You can find the documentation on creating a user at https://docs.djangoproject.com/en/1.5/topics/auth/default/#creating-users and the documentation on sending an email at https://docs.djangoproject.com/en/1.5/topics/email/ .
It's basically just a matter of creating a form, writing a view to render it, and if the form is valid, create the user using that data and send the email off.