diff options
| author | Mridul Dhall <mriduldhall@Mriduls-MacBook-Pro.local> | 2025-09-10 14:31:31 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-09-12 18:59:58 +0200 |
| commit | b8df1eb7c2f3e6db8866d9209330b237cdd83eeb (patch) | |
| tree | 9960ab542ce1597c29e7d0dd14e342be681b2830 /docs/ref | |
| parent | adc80dd81eb70d8e11230b9603b025f0d98e1373 (diff) | |
[5.2.x] Fixed #36597 -- Corrected directives for functions from email module in docs.
Thanks Mike Edmunds for the report.
Backport of e183d6c26c8da4486c151f9ce973828e2404a796 from main.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 2 | ||||
| -rw-r--r-- | docs/ref/django-admin.txt | 4 | ||||
| -rw-r--r-- | docs/ref/settings.txt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 56d7cea7b9..3a0b36aaeb 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -293,7 +293,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 --------------- diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index cb0c5febec..755475455a 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -1051,12 +1051,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`` --------- diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index 695e39c834..1e92116099 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -2565,7 +2565,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 |
