mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #24970 -- Added --managers and --admins options to the sendtestemail management command.
This commit is contained in:
parent
1c90a3dcca
commit
e7b4bd48c7
3 changed files with 89 additions and 13 deletions
|
@ -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
|
||||
-----
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue