summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMike Edmunds <medmunds@gmail.com>2025-07-16 14:12:03 -0700
committerNatalia <124304+nessita@users.noreply.github.com>2025-07-17 14:02:01 -0300
commit6966adc519ccb09a1e72ffd1c37489e85d675556 (patch)
tree5777d52e67f5ac3a9fd3589f6d1a4f1e7b289661 /docs
parenta76587531b1f41343ed1f6977a999e4e3a9f6b44 (diff)
[5.2.x] Fixed get_connection() signature in docs/topics/email.txt.
django.core.mail.get_connection() has always supported only variable keyword arguments (never variable positional arguments). Backport of 5289ce65b9a1963707767cc11c476679ab445135 from main.
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/email.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/email.txt b/docs/topics/email.txt
index 74468063b8..18608dbdcf 100644
--- a/docs/topics/email.txt
+++ b/docs/topics/email.txt
@@ -582,7 +582,7 @@ instance of the email backend that you can use.
.. currentmodule:: django.core.mail
-.. function:: get_connection(backend=None, fail_silently=False, *args, **kwargs)
+.. function:: get_connection(backend=None, fail_silently=False, **kwargs)
By default, a call to ``get_connection()`` will return an instance of the
email backend specified in :setting:`EMAIL_BACKEND`. If you specify the
@@ -592,7 +592,7 @@ The ``fail_silently`` argument controls how the backend should handle errors.
If ``fail_silently`` is True, exceptions during the email sending process
will be silently ignored.
-All other arguments are passed directly to the constructor of the
+All other keyword arguments are passed directly to the constructor of the
email backend.
Django ships with several email sending backends. With the exception of the