From 44addbf4e7e0cc4211c4c3418469800cd275c886 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 24 Sep 2025 09:47:47 +0200 Subject: [PATCH 1/3] Refs #35859 -- Mentioned tasks in the docs index. --- docs/index.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/index.txt b/docs/index.txt index b25a345a96f7..9ff54c389f57 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -295,6 +295,7 @@ applications: :doc:`API Reference ` * :doc:`Caching ` * :doc:`Logging ` +* :doc:`Tasks framework ` * :doc:`Sending emails ` * :doc:`Syndication feeds (RSS/Atom) ` * :doc:`Pagination ` From 2e870c60718888067249f7f2c2e40e8eac3d13bc Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 23 Sep 2025 17:28:38 +0100 Subject: [PATCH 2/3] Refs #36163 -- Removed duplicated release note paragraph. --- docs/releases/6.0.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index e1cdc7fc67b9..7fb4da9d192b 100644 --- a/docs/releases/6.0.txt +++ b/docs/releases/6.0.txt @@ -492,7 +492,7 @@ Positional arguments in ``django.core.mail`` APIs :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. +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`, @@ -503,10 +503,6 @@ warning and will raise a :exc:`TypeError` when the deprecation period ends. the first four (``subject``, ``body``, ``from_email``, and ``to``), which may still be passed either as positional or keyword arguments. -* :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: - Miscellaneous ------------- From f2e02198671a4c099744efdc166f98525cbae4c1 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Tue, 23 Sep 2025 17:28:38 +0100 Subject: [PATCH 3/3] Refs #36163 -- Removed currentmodule directive from 6.0 release notes. --- docs/releases/6.0.txt | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/docs/releases/6.0.txt b/docs/releases/6.0.txt index 7fb4da9d192b..56e4bf2315e2 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 -------------