mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[5.0.x] Fixed #35147 -- Added backward incompatibility note about filtering against overflowing integers.
Backport of 0630ca5725 from main
			
			
This commit is contained in:
		
				
					committed by
					
						 Mariusz Felisiak
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							58d5e5779c
						
					
				
				
					commit
					741f080ab5
				
			| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user