Skip to content

Commit

Permalink
add missing docs for EMAIL_FRONTEND_* settings
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwojcik committed Mar 31, 2024
1 parent 29143a5 commit 17dabaf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/emails.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ Email support is now handled with the `django-templated-mail <https://github.com
package.

Email classes can be overridden using `EMAIL setting <http://djoser.readthedocs.io/en/latest/settings.html#email>`_

If you need to customize the domain name in the email contents (fe. for user activation or password reset), see `EMAIL_FRONTEND_*` settings.
15 changes: 15 additions & 0 deletions docs/source/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
---------------------

Expand Down

0 comments on commit 17dabaf

Please sign in to comment.