mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[5.0.x] Fixed #35638 -- Updated validate_constraints to consider db_default.
Backport of 509763c799 from main.
			
			
This commit is contained in:
		
				
					committed by
					
						 Sarah Boyce
						Sarah Boyce
					
				
			
			
				
	
			
			
			
						parent
						
							e88ef6a27d
						
					
				
				
					commit
					333cfab512
				
			| @@ -454,7 +454,7 @@ class Migration(migrations.Migration): | ||||
|                         primary_key=True, | ||||
|                     ), | ||||
|                 ), | ||||
|                 ("ints", IntegerRangeField(null=True, blank=True)), | ||||
|                 ("ints", IntegerRangeField(null=True, blank=True, db_default=(5, 10))), | ||||
|                 ("bigints", BigIntegerRangeField(null=True, blank=True)), | ||||
|                 ("decimals", DecimalRangeField(null=True, blank=True)), | ||||
|                 ("timestamps", DateTimeRangeField(null=True, blank=True)), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user