From 2ca106f5c3fdfd5465cc13a4aaac2cda58162a3b Mon Sep 17 00:00:00 2001 From: Calvin Walden Date: Sun, 18 Apr 2021 10:26:21 -0500 Subject: [PATCH] Ammend test email instructions to use built-in Django utility --- docs/production.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/production.rst b/docs/production.rst index 2b0ab275f..a73c50584 100644 --- a/docs/production.rst +++ b/docs/production.rst @@ -160,7 +160,9 @@ In order to use a real email server, another backend listed in `Django's documen EMAIL_USE_SSL = False DEFAULT_FROM_EMAIL = 'wger Workout Manager ' -Email settings can be tested using the password reset function in the login page, provided an account with an email address has been created. +Django provides a ``sendtestemail`` command via ``manage.py`` to test email settings:: + + python manage.py sendtestemail user@example.com .. _`Django's documentation`: https://docs.djangoproject.com/en/dev/topics/email/#email-backends