Skip to content

Commit f2e0219

Browse files
adamchainzfelixxm
authored andcommitted
Refs #36163 -- Removed currentmodule directive from 6.0 release notes.
1 parent 2e870c6 commit f2e0219

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

docs/releases/6.0.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -488,20 +488,18 @@ Features deprecated in 6.0
488488
Positional arguments in ``django.core.mail`` APIs
489489
-------------------------------------------------
490490

491-
.. currentmodule:: django.core.mail
492-
493491
:mod:`django.core.mail` APIs now require keyword arguments for less commonly
494492
used parameters. Using positional arguments for these now emits a deprecation
495493
warning and will raise a :exc:`TypeError` when the deprecation period ends:
496494

497495
* All *optional* parameters (``fail_silently`` and later) must be passed as
498-
keyword arguments to :func:`get_connection`, :func:`mail_admins`,
499-
:func:`mail_managers`, :func:`send_mail`, and :func:`send_mass_mail`.
496+
keyword arguments to :func:`.get_connection`, :func:`.mail_admins`,
497+
:func:`.mail_managers`, :func:`.send_mail`, and :func:`.send_mass_mail`.
500498

501499
* All parameters must be passed as keyword arguments when creating an
502-
:class:`EmailMessage` or :class:`EmailMultiAlternatives` instance, except for
503-
the first four (``subject``, ``body``, ``from_email``, and ``to``), which may
504-
still be passed either as positional or keyword arguments.
500+
:class:`.EmailMessage` or :class:`.EmailMultiAlternatives` instance, except
501+
for the first four (``subject``, ``body``, ``from_email``, and ``to``), which
502+
may still be passed either as positional or keyword arguments.
505503

506504
Miscellaneous
507505
-------------

0 commit comments

Comments
 (0)