Simon Charette 
							
						 
					 
					
						
						
							
						
						fc30355107 
					 
					
						
						
							
							Fixed   #36198  -- Implemented unresolved transform expression replacement.  
						
						... 
						
						
						
						This allows the proper resolving of F("field__transform") when
performing constraint validation.
Thanks Tom Hall for the report and Sarah for the test. 
						
						
					 
					
						2025-03-01 19:57:53 +01:00 
						 
				 
			
				
					
						
							
							
								gabn88 
							
						 
					 
					
						
						
							
						
						e970bb7ca7 
					 
					
						
						
							
							Fixed   #35103  -- Used provided error code and message when fields is set without a condition on UniqueConstraint.  
						
						
						
						
					 
					
						2024-10-10 09:20:37 +02:00 
						 
				 
			
				
					
						
							
							
								Mark Gensler 
							
						 
					 
					
						
						
							
						
						228128618b 
					 
					
						
						
							
							Fixed   #35575  -- Added support for constraint validation on GeneratedFields.  
						
						
						
						
					 
					
						2024-08-12 13:45:57 +02:00 
						 
				 
			
				
					
						
							
							
								David Sanders 
							
						 
					 
					
						
						
							
						
						509763c799 
					 
					
						
						
							
							Fixed   #35638  -- Updated validate_constraints to consider db_default.  
						
						
						
						
					 
					
						2024-08-05 17:33:12 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						daf7d482db 
					 
					
						
						
							
							Refs  #35234  -- Deprecated CheckConstraint.check in favor of .condition.  
						
						... 
						
						
						
						Once the deprecation period ends CheckConstraint.check() can become the
documented method that performs system checks for BaseConstraint
subclasses. 
						
						
					 
					
						2024-03-01 07:15:32 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						3434dbd39d 
					 
					
						
						
							
							Fixed   #34754  -- Fixed JSONField check constraints validation on NULL values.  
						
						... 
						
						
						
						The __isnull lookup of JSONField must special case
Value(None, JSONField()) left-hand-side in order to be coherent with
its convoluted null handling.
Since psycopg>=3 offers no way to pass a NULL::jsonb the issue is
resolved by optimizing IsNull(Value(None), True | False) to
True | False.
Regression in 5c23d9f0c3 
						
						
					 
					
						2023-08-04 10:14:03 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						2c428b37ae 
					 
					
						
						
							
							Refs  #34338  -- Fixed isolation of constraints tests.  
						
						... 
						
						
						
						Regression in 5b3d3e400a 
						
						
					 
					
						2023-02-24 09:02:45 +01:00 
						 
				 
			
				
					
						
							
							
								Gagaro 
							
						 
					 
					
						
						
							
						
						667105877e 
					 
					
						
						
							
							Fixed   #30581  -- Added support for Meta.constraints validation.  
						
						... 
						
						
						
						Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. 
						
						
					 
					
						2022-05-10 11:22:23 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						27b07a3246 
					 
					
						
						
							
							Refs  #30581  -- Moved CheckConstraint tests for conditional expressions to migrations.test_operations.  
						
						... 
						
						
						
						This allows avoiding warning in tests about using RawSQL in
CheckConstraints. 
						
						
					 
					
						2022-05-05 06:44:34 +02:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						f4e93919e4 
					 
					
						
						
							
							Fixed   #31815  -- Fixed schema value encoding on PostgreSQL.  
						
						
						
						
					 
					
						2020-07-27 06:39:02 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						f83b44075d 
					 
					
						
						
							
							Refs  #30913  -- Added system checks for covering indexes and unique constraints support.  
						
						
						
						
					 
					
						2020-06-04 12:26:25 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						8c7992f658 
					 
					
						
						
							
							Fixed   #30913  -- Added support for covering indexes on PostgreSQL 11+.  
						
						
						
						
					 
					
						2020-06-04 12:26:22 +02:00 
						 
				 
			
				
					
						
							
							
								Ian Foote 
							
						 
					 
					
						
						
							
						
						c226c6cb32 
					 
					
						
						
							
							Fixed   #20581  -- Added support for deferrable unique constraints.  
						
						
						
						
					 
					
						2020-04-30 10:43:50 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						4c9886085b 
					 
					
						
						
							
							Refs  #31351  -- Made partial constraints tests use required_db_features.  
						
						... 
						
						
						
						This will notably silence the warnings issued when running the test
suite on MySQL and MariaDB. 
						
						
					 
					
						2020-04-17 07:45:52 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						e9a0e1d4f6 
					 
					
						
						
							
							Fixed   #30484  -- Added conditional expressions support to CheckConstraint.  
						
						
						
						
					 
					
						2019-11-21 11:56:35 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						8b3e1b6e9e 
					 
					
						
						
							
							Refs  #11964  -- Made constraint support check respect required_db_features.  
						
						... 
						
						
						
						This will notably silence the warnings issued when running the test
suite on MySQL. 
						
						
					 
					
						2019-08-12 06:44:37 +02:00 
						 
				 
			
				
					
						
							
							
								can 
							
						 
					 
					
						
						
							
						
						febe136d4c 
					 
					
						
						
							
							Fixed   #30397  -- Added app_label/class interpolation for names of indexes and constraints.  
						
						
						
						
					 
					
						2019-07-08 14:57:56 +02:00 
						 
				 
			
				
					
						
							
							
								Paveł Tyślacki 
							
						 
					 
					
						
						
							
						
						b69f8eb04c 
					 
					
						
						
							
							Fixed   #30062  -- Added support for unique conditional constraints.  
						
						
						
						
					 
					
						2019-01-12 09:50:20 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						db13bca60a 
					 
					
						
						
							
							Fixed   #29641  -- Added support for unique constraints in Meta.constraints.  
						
						... 
						
						
						
						This constraint is similar to Meta.unique_together but also allows
specifying a name.
Co-authored-by: Ian Foote <python@ian.feete.org > 
						
						
					 
					
						2018-11-13 17:57:27 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						9142bebff2 
					 
					
						
						
							
							Refs  #11964  -- Changed CheckConstraint() signature to use keyword-only arguments.  
						
						... 
						
						
						
						Also renamed the `constraint` argument to `check` to better represent which
part of the constraint the provided `Q` object represents. 
						
						
					 
					
						2018-10-02 10:53:04 -04:00 
						 
				 
			
				
					
						
							
							
								Ian Foote 
							
						 
					 
					
						
						
							
						
						952f05a6db 
					 
					
						
						
							
							Fixed   #11964  -- Added support for database check constraints.  
						
						
						
						
					 
					
						2018-07-10 15:32:33 -04:00