mirror of
https://github.com/django/django.git
synced 2025-11-20 03:30:00 +00:00
Fixed #36597 -- Corrected directives for functions from email module in docs.
Some checks failed
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Some checks failed
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Has been cancelled
Linters / isort (push) Has been cancelled
Linters / black (push) Has been cancelled
Tests / Windows, SQLite, Python 3.13 (push) Has been cancelled
Tests / JavaScript tests (push) Has been cancelled
Thanks Mike Edmunds for the report.
This commit is contained in:
parent
8956ee3ce3
commit
e183d6c26c
7 changed files with 23 additions and 23 deletions
|
|
@ -294,7 +294,7 @@ Methods
|
|||
|
||||
Sends an email to the user. If ``from_email`` is ``None``, Django uses
|
||||
the :setting:`DEFAULT_FROM_EMAIL`. Any ``**kwargs`` are passed to the
|
||||
underlying :meth:`~django.core.mail.send_mail` call.
|
||||
underlying :func:`~django.core.mail.send_mail` call.
|
||||
|
||||
Manager methods
|
||||
---------------
|
||||
|
|
|
|||
|
|
@ -1052,12 +1052,12 @@ together:
|
|||
.. django-admin-option:: --managers
|
||||
|
||||
Mails the email addresses specified in :setting:`MANAGERS` using
|
||||
:meth:`~django.core.mail.mail_managers`.
|
||||
:func:`~django.core.mail.mail_managers`.
|
||||
|
||||
.. django-admin-option:: --admins
|
||||
|
||||
Mails the email addresses specified in :setting:`ADMINS` using
|
||||
:meth:`~django.core.mail.mail_admins`.
|
||||
:func:`~django.core.mail.mail_admins`.
|
||||
|
||||
``shell``
|
||||
---------
|
||||
|
|
|
|||
|
|
@ -2656,7 +2656,7 @@ protocol.
|
|||
.. admonition:: Why are my emails sent from a different address?
|
||||
|
||||
This address is used only for error messages. It is *not* the address that
|
||||
regular email messages sent with :meth:`~django.core.mail.send_mail`
|
||||
regular email messages sent with :func:`~django.core.mail.send_mail`
|
||||
come from; for that, see :setting:`DEFAULT_FROM_EMAIL`.
|
||||
|
||||
.. setting:: SHORT_DATE_FORMAT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue