1
0
mirror of https://github.com/django/django.git synced 2025-03-12 02:12:38 +00:00

Fixed #35147 -- Added backward incompatibility note about filtering against overflowing integers.

This commit is contained in:
Petar Netev 2024-01-30 10:10:59 +02:00 committed by Mariusz Felisiak
parent f71bcc001b
commit 0630ca5725

View File

@ -588,6 +588,11 @@ Miscellaneous
* The minimum supported version of ``docutils`` is increased to 0.19. * The minimum supported version of ``docutils`` is increased to 0.19.
* Filtering querysets against overflowing integer values now always returns an
empty queryset. As a consequence, you may need to use ``ExpressionWrapper()``
to :ref:`explicitly wrap <using-f-with-annotations>` arithmetic against
integer fields in such cases.
.. _deprecated-features-5.0: .. _deprecated-features-5.0:
Features deprecated in 5.0 Features deprecated in 5.0