-
Notifications
You must be signed in to change notification settings - Fork 663
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
Unclear how to send emails for registration or password change. #29
Comments
Also, no email is sent in the demo. |
If you just want to use your custom template you just need to specify it and put in correct path - like standard template overriding. Sending email after registration is basically handled by django-allauth, so you probably need to dig more in this part of code https://github.com/Tivix/django-rest-auth/blob/master/rest_auth/registration/views.py#L15 and in django-allauth documentation. Email with password reset is handled by standard django form, wrapped by serializer - see this part of code https://github.com/Tivix/django-rest-auth/blob/master/rest_auth/serializers.py#L51 and PasswordResetForm usage. Email backend in demo project is set to console, so all emails which are sent out from system are just printed on your console. |
Sorry about that, I had posted this before doing some more research. It all makes sense after reading about django-allauth. Thanks again for this project, I have it integrated into my project and it works great! |
No problem. I'm glad you already integrated it! 👍 |
Revert "Update documentation"
It isn't documented anywhere how to hook into the email sending mechanism. Do I need to implement this? If so, where do I hook into this? Or is it supposed to happen automatically and I just specify a template?
The text was updated successfully, but these errors were encountered: