summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorRolo <rolo@wildfish.com>2015-06-16 13:46:56 +0100
committerTim Graham <timograham@gmail.com>2015-06-22 07:21:26 -0400
commite7b4bd48c7b81718cfae6f30f1868cf45311ca86 (patch)
treee7d7b83eac078742e5b52c5e0827ec974413200e /docs/ref
parent1c90a3dccadc7d2da3704ff17ac9ff1a67743934 (diff)
Fixed #24970 -- Added --managers and --admins options to the sendtestemail management command.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index d55b748eed..59c7cb03cb 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -902,6 +902,18 @@ recipient(s) specified. For example::
django-admin sendtestemail foo@example.com bar@example.com
+.. django-admin-option:: --managers
+
+Use the ``--managers`` option to mail the email addresses specified in
+:setting:`MANAGERS` using :meth:`~django.core.mail.mail_managers()`.
+
+.. django-admin-option:: --admins
+
+Use the ``--admins`` option to mail the email addresses specified in
+:setting:`ADMINS` using :meth:`~django.core.mail.mail_admins()`.
+
+Note that you may use any combination of these options together.
+
shell
-----