diff options
| author | Adam Johnson <me@adamj.eu> | 2025-09-23 17:28:38 +0100 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2025-09-24 13:06:21 +0200 |
| commit | e9caad2e03d43ffa9fadd07c91abdce44b527319 (patch) | |
| tree | ebf49fad6bedb0edf69c9e701f0cdec4ca3e4ee8 /docs | |
| parent | f39eb730fb895767f2c5a80999d945be26e36263 (diff) | |
[6.0.x] Refs #36163 -- Removed currentmodule directive from 6.0 release notes.
Backport of f2e02198671a4c099744efdc166f98525cbae4c1 from main
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/6.0.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 7fb4da9d19..56e4bf2315 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -488,20 +488,18 @@ Features deprecated in 6.0 Positional arguments in ``django.core.mail`` APIs ------------------------------------------------- -.. currentmodule:: django.core.mail - :mod:`django.core.mail` APIs now require keyword arguments for less commonly used parameters. Using positional arguments for these now emits a deprecation warning and will raise a :exc:`TypeError` when the deprecation period ends: * All *optional* parameters (``fail_silently`` and later) must be passed as - keyword arguments to :func:`get_connection`, :func:`mail_admins`, - :func:`mail_managers`, :func:`send_mail`, and :func:`send_mass_mail`. + keyword arguments to :func:`.get_connection`, :func:`.mail_admins`, + :func:`.mail_managers`, :func:`.send_mail`, and :func:`.send_mass_mail`. * All parameters must be passed as keyword arguments when creating an - :class:`EmailMessage` or :class:`EmailMultiAlternatives` instance, except for - the first four (``subject``, ``body``, ``from_email``, and ``to``), which may - still be passed either as positional or keyword arguments. + :class:`.EmailMessage` or :class:`.EmailMultiAlternatives` instance, except + for the first four (``subject``, ``body``, ``from_email``, and ``to``), which + may still be passed either as positional or keyword arguments. Miscellaneous ------------- |
