diff --git a/docs/source/emails.rst b/docs/source/emails.rst index d53d7753..91e68542 100644 --- a/docs/source/emails.rst +++ b/docs/source/emails.rst @@ -9,3 +9,5 @@ Email support is now handled with the `django-templated-mail `_ + +If you need to customize the domain name in the email contents (fe. for user activation or password reset), see `EMAIL_FRONTEND_*` settings. diff --git a/docs/source/settings.rst b/docs/source/settings.rst index d131ed23..e2aa8347 100644 --- a/docs/source/settings.rst +++ b/docs/source/settings.rst @@ -58,6 +58,21 @@ You should pass ``uid`` and ``token`` to reset username confirmation endpoint. **Required**: ``True`` +EMAIL_FRONTEND_PROTOCOL +----------------------- + +If set, it will replace the PROTOCOL part of the url in the emails content. + +EMAIL_FRONTEND_DOMAIN +--------------------- + +If set, it will replace the DOMAIN part of the url in the emails content. + +EMAIL_FRONTEND_SITE_NAME +------------------------ + +If set, it will replace the SITE_NAME in the emails content. + SEND_ACTIVATION_EMAIL ---------------------