diff options
| author | SaJH <wogur981208@gmail.com> | 2025-08-26 00:50:53 +0900 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2025-08-28 08:52:43 +0200 |
| commit | 3c0c54351b58e9386375d2bd7a8c60dadc4bb6e8 (patch) | |
| tree | 38a78ca516fc998ae29818fa7950af5278bc7c9b /docs/releases/3.2.txt | |
| parent | 1285de557b0b8b9c5ebe5de0114b2da5abe60f80 (diff) | |
Fixed #36570 -- Removed unnecessary :py domain from documentation roles.
Signed-off-by: SaJH <wogur981208@gmail.com>
Diffstat (limited to 'docs/releases/3.2.txt')
| -rw-r--r-- | docs/releases/3.2.txt | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/docs/releases/3.2.txt b/docs/releases/3.2.txt index 9a49075d37..6813063160 100644 --- a/docs/releases/3.2.txt +++ b/docs/releases/3.2.txt @@ -406,11 +406,11 @@ Models * :class:`Value() <django.db.models.Value>` expression now automatically resolves its ``output_field`` to the appropriate :class:`Field <django.db.models.Field>` subclass based on the type of - its provided ``value`` for :py:class:`bool`, :py:class:`bytes`, - :py:class:`float`, :py:class:`int`, :py:class:`str`, - :py:class:`datetime.date`, :py:class:`datetime.datetime`, - :py:class:`datetime.time`, :py:class:`datetime.timedelta`, - :py:class:`decimal.Decimal`, and :py:class:`uuid.UUID` instances. As a + its provided ``value`` for :class:`bool`, :class:`bytes`, + :class:`float`, :class:`int`, :class:`str`, + :class:`datetime.date`, :class:`datetime.datetime`, + :class:`datetime.time`, :class:`datetime.timedelta`, + :class:`decimal.Decimal`, and :class:`uuid.UUID` instances. As a consequence, resolving an ``output_field`` for database functions and combined expressions may now crash with mixed types when using ``Value()``. You will need to explicitly set the ``output_field`` in such cases. @@ -519,11 +519,11 @@ Tests * Objects assigned to class attributes in :meth:`.TestCase.setUpTestData` are now isolated for each test method. Such objects are now required to support - creating deep copies with :py:func:`copy.deepcopy`. Assigning objects which + creating deep copies with :func:`copy.deepcopy`. Assigning objects which don't support ``deepcopy()`` is deprecated and will be removed in Django 4.1. * :class:`~django.test.runner.DiscoverRunner` now enables - :py:mod:`faulthandler` by default. This can be disabled by using the + :mod:`faulthandler` by default. This can be disabled by using the :option:`test --no-faulthandler` option. * :class:`~django.test.runner.DiscoverRunner` and the @@ -703,8 +703,8 @@ Miscellaneous removed. Please use :func:`urllib.parse.parse_qsl` instead. * ``django.test.utils.TestContextDecorator`` now uses - :py:meth:`~unittest.TestCase.addCleanup` so that cleanups registered in the - :py:meth:`~unittest.TestCase.setUp` method are called before + :meth:`~unittest.TestCase.addCleanup` so that cleanups registered in the + :meth:`~unittest.TestCase.setUp` method are called before ``TestContextDecorator.disable()``. * ``SessionMiddleware`` now raises a @@ -758,7 +758,7 @@ Miscellaneous ------------- * Assigning objects which don't support creating deep copies with - :py:func:`copy.deepcopy` to class attributes in + :func:`copy.deepcopy` to class attributes in :meth:`.TestCase.setUpTestData` is deprecated. * Using a boolean value in :attr:`.BaseCommand.requires_system_checks` is |
