L 
							
						 
					 
					
						
						
							
						
						37602e4948 
					 
					
						
						
							
							Fixed   #33656  -- Fixed MultiWidget crash when compressed value is a tuple.  
						
						
						
						
					 
					
						2022-04-26 07:06:26 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandru Mărășteanu 
							
						 
					 
					
						
						
							
						
						a1e4e86f92 
					 
					
						
						
							
							Fixed   #33607  -- Made PostgresIndex.create_sql() respect the "using" argument.  
						
						
						
						
					 
					
						2022-04-15 22:00:28 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						bb61f0186d 
					 
					
						
						
							
							Refs  #32365  -- Removed internal uses of utils.timezone.utc alias.  
						
						... 
						
						
						
						Remaining test case ensures that uses of the alias are mapped
canonically by the migration writer. 
						
						
					 
					
						2022-03-24 06:29:50 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						3b3f38b3b0 
					 
					
						
						
							
							Fixed   #31169  -- Adapted the parallel test runner to use spawn.  
						
						... 
						
						
						
						Co-authored-by: Valz <ahmadahussein0@gmail.com >
Co-authored-by: Nick Pope <nick@nickpope.me.uk > 
						
						
					 
					
						2022-03-15 16:23:55 +01:00 
						 
				 
			
				
					
						
							
							
								Anders Kaseorg 
							
						 
					 
					
						
						
							
						
						7f4fc5cbd4 
					 
					
						
						
							
							Fixed   #33539  -- Fixed spaces in WITH SQL for indexes on PostgreSQL.  
						
						
						
						
					 
					
						2022-02-24 09:03:58 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						847f46e9bf 
					 
					
						
						
							
							Removed redundant QuerySet.all() calls in docs and tests.  
						
						... 
						
						
						
						Most QuerySet methods are mapped onto the Manager and, in general,
it isn't necessary to call .all() on the manager. 
						
						
					 
					
						2022-02-22 10:29:38 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						7119f40c98 
					 
					
						
						
							
							Refs  #33476  -- Refactored code to strictly match 88 characters line length.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						c5cd878382 
					 
					
						
						
							
							Refs  #33476  -- Refactored problematic code before reformatting by Black.  
						
						... 
						
						
						
						In these cases Black produces unexpected results, e.g.
def make_random_password(
    self,
    length=10,
    allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789',
):
or
cursor.execute("""
SELECT ...
""",
    [table name],
) 
						
						
					 
					
						2022-02-03 11:20:46 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						59a66f0512 
					 
					
						
						
							
							Refs  #33342  -- Deprecated ExclusionConstraint.opclasses.  
						
						
						
						
					 
					
						2021-12-27 08:55:18 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						0e656c02fe 
					 
					
						
						
							
							Fixed   #33342  -- Added support for using OpClass() in exclusion constraints.  
						
						
						
						
					 
					
						2021-12-24 11:39:00 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ca04659b4b 
					 
					
						
						
							
							Refs  #32355  -- Bumped required psycopg2 version to 2.8.4.  
						
						... 
						
						
						
						psycopg2 2.8.4 is the first release to support Python 3.8. 
						
						
					 
					
						2021-12-22 20:32:55 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						c6c6cd3c5a 
					 
					
						
						
							
							Fixed   #33235  -- Removed "for = ..." from MultiWidget's <label>.  
						
						... 
						
						
						
						This improves accessibility for screen reader users. 
						
						
					 
					
						2021-11-05 11:05:52 +01:00 
						 
				 
			
				
					
						
							
							
								Guilherme Martins Crocetti 
							
						 
					 
					
						
						
							
						
						fc565cb539 
					 
					
						
						
							
							Fixed   #27147  -- Allowed specifying bounds of tuple inputs for non-discrete range fields.  
						
						
						
						
					 
					
						2021-11-04 19:08:57 +01:00 
						 
				 
			
				
					
						
							
							
								Guilherme Martins Crocetti 
							
						 
					 
					
						
						
							
						
						52f6927d7f 
					 
					
						
						
							
							Refs  #29738  -- Added test for serializing psycopg2's NumericRange with DecimalRangeField in migrations.  
						
						
						
						
					 
					
						2021-11-04 19:08:57 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Abderemane 
							
						 
					 
					
						
						
							
						
						533f345c09 
					 
					
						
						
							
							Refs  #27694  -- Added more tests for chaining lookups with HStoreField key transforms.  
						
						
						
						
					 
					
						2021-10-04 07:18:16 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						c2f6c05c4c 
					 
					
						
						
							
							Refs  #32943  -- Added support for covering exclusion constraints using SP-GiST indexes on PostgreSQL 14+.  
						
						
						
						
					 
					
						2021-10-01 13:11:37 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						e76f9d5b44 
					 
					
						
						
							
							Refs  #32943  -- Added support for covering SP-GiST indexes on PostgreSQL 14+.  
						
						
						
						
					 
					
						2021-10-01 13:11:34 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						bd47b9bc81 
					 
					
						
						
							
							Fixed   #32961  -- Added BitXor() aggregate to django.contrib.postgres.  
						
						
						
						
					 
					
						2021-10-01 10:32:39 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						000d430234 
					 
					
						
						
							
							Fixed typo in exception message for GiST indexes and exclusion constraints.  
						
						
						
						
					 
					
						2021-10-01 09:46:36 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						dd26362f63 
					 
					
						
						
							
							Fixed SpGistIndex tests on PostgreSQL 14+.  
						
						
						
						
					 
					
						2021-10-01 09:17:59 +02:00 
						 
				 
			
				
					
						
							
							
								ali 
							
						 
					 
					
						
						
							
						
						ca58378390 
					 
					
						
						
							
							Fixed   #33114  -- Defined default output_field of StringAgg.  
						
						... 
						
						
						
						Thanks Simon Charette for the review. 
						
						
					 
					
						2021-09-27 06:58:54 +02:00 
						 
				 
			
				
					
						
							
							
								Nikita Marchant 
							
						 
					 
					
						
						
							
						
						4e4082f939 
					 
					
						
						
							
							Fixed   #32492  -- Added TrigramWordSimilarity() and TrigramWordDistance() on PostgreSQL.  
						
						
						
						
					 
					
						2021-09-17 13:05:15 +02:00 
						 
				 
			
				
					
						
							
							
								abhiabhi94 
							
						 
					 
					
						
						
							
						
						5a634a7b6f 
					 
					
						
						
							
							Fixed   #32906  -- Added docs and tests for using key and index lookups on JSONBAgg results.  
						
						... 
						
						
						
						Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2021-07-26 11:23:51 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						fee8734596 
					 
					
						
						
							
							Refs  #10929  -- Deprecated forced empty result value for PostgreSQL aggregates.  
						
						... 
						
						
						
						This deprecates forcing a return value for ArrayAgg, JSONBAgg, and
StringAgg when there are no rows in the query. Now that we have a
``default`` argument for aggregates, we want to revert to returning the
default of ``None`` which most aggregate functions return and leave it
up to the user to decide what they want to be returned by default. 
						
						
					 
					
						2021-07-19 13:41:16 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						501a8db465 
					 
					
						
						
							
							Fixed   #10929  -- Added default argument to aggregates.  
						
						... 
						
						
						
						Thanks to Simon Charette and Adam Johnson for the reviews. 
						
						
					 
					
						2021-07-19 13:04:27 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						a06b977a91 
					 
					
						
						
							
							Fixed   #32776  -- Added support for Array subqueries on PostgreSQL.  
						
						
						
						
					 
					
						2021-07-06 07:36:52 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						d8c90d4c22 
					 
					
						
						
							
							Fixed   #32786  -- Moved subquery ordering clearing optimization to the _in lookup.  
						
						... 
						
						
						
						Co-Authored-By: Simon Charette <charette.s@gmail.com > 
						
						
					 
					
						2021-06-30 10:08:55 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						5371ad1d14 
					 
					
						
						
							
							Refs  #26430  -- Added tests for PostgreSQL-specific aggregates on EmptyQuerySets and used subTest().  
						
						
						
						
					 
					
						2021-06-29 20:23:59 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						66af94d56e 
					 
					
						
						
							
							Removed unnecessary json.loads() call in test_json_agg_empty().  
						
						
						
						
					 
					
						2021-06-28 09:22:23 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						e8e8e207e7 
					 
					
						
						
							
							Ensured that empty result test for JSONBAgg executes a query.  
						
						... 
						
						
						
						Use of QuerySet.none() will cause the EmptyQuerySet aggregation
optimisation to be used. Change the test to be implemented like the
other tests for empty results in this file. 
						
						
					 
					
						2021-06-28 09:21:57 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						1aca9fc7d2 
					 
					
						
						
							
							Corrected test method and variable names for JSONBAgg.  
						
						... 
						
						
						
						This is probably a hangover from when the aggregate function was
originally called JSONAgg during development. 
						
						
					 
					
						2021-06-28 09:17:34 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						e07609a0d1 
					 
					
						
						
							
							Refs  #32858 , Refs  #32392  -- Restored using :: shortcut syntax in Cast() on PostgreSQL.  
						
						... 
						
						
						
						This partly reverts commit fdfbc66331b69b0c3fe8 
						
						
					 
					
						2021-06-22 06:28:42 +02:00 
						 
				 
			
				
					
						
							
							
								Lucidiot 
							
						 
					 
					
						
						
							
						
						b69b0c3fe8 
					 
					
						
						
							
							Fixed   #32858  -- Fixed ExclusionConstraint crash with index transforms in expressions.  
						
						
						
						
					 
					
						2021-06-22 06:09:16 +02:00 
						 
				 
			
				
					
						
							
							
								Sanskar Jaiswal 
							
						 
					 
					
						
						
							
						
						8c3bd0b708 
					 
					
						
						
							
							Fixed   #31653  -- Added AddConstraintNotValid()/ValidateConstraint() operations for PostgreSQL.  
						
						
						
						
					 
					
						2021-06-08 07:46:51 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						f0a9413bd2 
					 
					
						
						
							
							Refs  #24121  -- Improved Value.__repr__().  
						
						
						
						
					 
					
						2021-05-24 07:26:53 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						3aa545281e 
					 
					
						
						
							
							Fixed   #30916  -- Added support for functional unique constraints.  
						
						... 
						
						
						
						Thanks Ian Foote and Mariusz Felisiak for reviews. 
						
						
					 
					
						2021-02-23 20:19:53 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						87acbf0631 
					 
					
						
						
							
							Fixed   #32458  -- Made __repr__() for Index and BaseConstraint subclasses more consistent.  
						
						
						
						
					 
					
						2021-02-19 20:25:11 +01:00 
						 
				 
			
				
					
						
							
							
								Tilman Koschnick 
							
						 
					 
					
						
						
							
						
						fdfbc66331 
					 
					
						
						
							
							Fixed   #32392  -- Fixed ExclusionConstraint crash with Cast() in expressions.  
						
						
						
						
					 
					
						2021-01-29 11:05:00 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						5371342ed6 
					 
					
						
						
							
							Fixed   #32357  -- Dropped support for PostgreSQL 9.6 and PostGIS 2.3.  
						
						
						
						
					 
					
						2021-01-19 12:25:20 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						2dd6a83d2d 
					 
					
						
						
							
							Refs  #12990  -- Removed django.contrib.postgres.forms.JSONField per deprecation timeline.  
						
						
						
						
					 
					
						2021-01-14 17:50:04 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						8fdb5a656a 
					 
					
						
						
							
							Refs  #12990  -- Removed django.contrib.postgres.fields.jsonb.KeyTransform/KeyTextTransform.  
						
						... 
						
						
						
						Per deprecation timeline. 
						
						
					 
					
						2021-01-14 17:50:04 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						7cb5712edc 
					 
					
						
						
							
							Refs  #12990  -- Removed django.contrib.postgres.fields.JSONField per deprecation timeline.  
						
						
						
						
					 
					
						2021-01-14 17:50:04 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						83fcfc9ec8 
					 
					
						
						
							
							Fixed   #26167  -- Added support for functional indexes.  
						
						... 
						
						
						
						Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews.
Co-authored-by: Markus Holtermann <info@markusholtermann.eu > 
						
						
					 
					
						2021-01-13 11:47:50 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						d746f28949 
					 
					
						
						
							
							Refs  #27095  -- Fixed test_contained_by_including_F_object when run in reverse.  
						
						... 
						
						
						
						Tests should not rely on auto PKs.
Test regression in 33403bf80f 
						
						
					 
					
						2020-12-03 09:30:33 +01:00 
						 
				 
			
				
					
						
							
							
								Ian Foote 
							
						 
					 
					
						
						
							
						
						8b040e3cbb 
					 
					
						
						
							
							Fixed   #25534 ,  Fixed   #31639  -- Added support for transform references in expressions.  
						
						... 
						
						
						
						Thanks Mariusz Felisiak and Simon Charette for reviews. 
						
						
					 
					
						2020-11-27 20:42:04 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						33403bf80f 
					 
					
						
						
							
							Refs  #27095  -- Allowed (non-nested) arrays containing expressions for ArrayField lookups.  
						
						
						
						
					 
					
						2020-11-26 10:57:58 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						755b327552 
					 
					
						
						
							
							Added test for ArrayField's __contains lookup with subqueries.  
						
						
						
						
					 
					
						2020-11-26 09:36:00 +01:00 
						 
				 
			
				
					
						
							
							
								Artur Beltsov 
							
						 
					 
					
						
						
							
						
						18c8ced81e 
					 
					
						
						
							
							Fixed   #32169  -- Added distinct support to JSONBAgg.  
						
						
						
						
					 
					
						2020-11-04 21:22:54 +01:00 
						 
				 
			
				
					
						
							
							
								Tom Carrick 
							
						 
					 
					
						
						
							
						
						f5e07601b2 
					 
					
						
						
							
							Fixed   #32046  -- Added CreateCollation/RemoveCollation operations for PostgreSQL.  
						
						
						
						
					 
					
						2020-10-21 10:53:44 +02:00