From e7b4bd48c7b81718cfae6f30f1868cf45311ca86 Mon Sep 17 00:00:00 2001 From: Rolo Date: Tue, 16 Jun 2015 13:46:56 +0100 Subject: Fixed #24970 -- Added --managers and --admins options to the sendtestemail management command. --- docs/ref/django-admin.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs') 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 ----- -- cgit v1.3