Simon Charette 
							
						 
					 
					
						
						
							
						
						6b7bd079a6 
					 
					
						
						
							
							[3.0.x]  Fixed   #30796  -- Prevented select_related() from mutating a queryset on chaining.  
						
						... 
						
						
						
						Thanks Darren Maki for the report.
Backport of 37f8f29377 
						
						
					 
					
						2019-09-24 09:47:21 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						2362f27265 
					 
					
						
						
							
							[3.0.x]  Fixed   #13296  -- Fixed ordering by Options.order_with_respect_to after deleting objects.  
						
						... 
						
						
						
						Thanks Simon Meers for the original patch.
Backport of f97bbad908 
						
						
					 
					
						2019-09-23 11:45:33 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						1611906094 
					 
					
						
						
							
							[3.0.x] Refs  #30771  -- Fixed RemovedInDjango31Warning in test_exact_query_rhs_with_selected_columns.  
						
						
						
						
					 
					
						2019-09-20 22:01:28 +02:00 
						 
				 
			
				
					
						
							
							
								James Timmins 
							
						 
					 
					
						
						
							
						
						3697ddbf75 
					 
					
						
						
							
							[3.0.x]  Fixed   #30771  -- Fixed exact lookup against queries with selected columns.  
						
						... 
						
						
						
						Use pre-existing select fields (and thereby GROUP BY fields) from
subquery if they were specified, instead of always defaulting to pk.
Thanks Aur Saraf for the report and Simon Charette for guidance.
Backport of 0719edcd5f 
						
						
					 
					
						2019-09-20 11:14:39 +02:00 
						 
				 
			
				
					
						
							
							
								Sam Reynolds 
							
						 
					 
					
						
						
							
						
						e74ca0226a 
					 
					
						
						
							
							[3.0.x]  Fixed   #30776  -- Restored max length validation on AuthenticationForm.UsernameField.  
						
						... 
						
						
						
						Regression in 5ceaf146866c9778a58e 
						
						
					 
					
						2019-09-18 12:04:47 +02:00 
						 
				 
			
				
					
						
							
							
								Nasir Hussain 
							
						 
					 
					
						
						
							
						
						685d956764 
					 
					
						
						
							
							[3.0.x]  Fixed   #30758  -- Made RangeFields use multiple hidden inputs for initial data.  
						
						... 
						
						
						
						Backport of faf4b988fe 
						
						
					 
					
						2019-09-17 12:21:02 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						574154ef56 
					 
					
						
						
							
							[3.0.x]  Fixed   #30769  -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.  
						
						... 
						
						
						
						This was a regression introduced by 7deeabc7c76c3dfba892 
						
						
					 
					
						2019-09-16 08:53:02 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						8ce932a20a 
					 
					
						
						
							
							[3.0.x] Refs  #30591  -- Fixed too long identifier crash in migrations.test_operations on MySQL 8.0.16+.  
						
						... 
						
						
						
						Backport of 937ddaff55 
						
						
					 
					
						2019-09-11 12:20:51 +02:00 
						 
				 
			
				
					
						
							
							
								Adnan Umer 
							
						 
					 
					
						
						
							
						
						acb11725f8 
					 
					
						
						
							
							[3.0.x]  Fixed   #30591  -- Fixed recreation of foreign key constraints on MySQL when altering type of referenced unique field.  
						
						... 
						
						
						
						Thanks Mariusz Felisiak for tests and Matthijs Kooijman for
investigation and initial patch.
Backport of 241deed259 
						
						
					 
					
						2019-09-11 11:43:55 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						34decdebf1 
					 
					
						
						
							
							Fixed   #30754  -- Prevented inclusion of aliases in partial index conditions.  
						
						... 
						
						
						
						SQLite doesn't repoint table aliases in partial index conditions on table
rename which breaks the documented table alteration procedure.
Thanks Pēteris Caune for the report. 
						
						
					 
					
						2019-09-10 10:03:16 +02:00 
						 
				 
			
				
					
						
							
							
								Vojtech Bocek 
							
						 
					 
					
						
						
							
						
						b1d37fea8f 
					 
					
						
						
							
							Fixed   #28107  -- Added DatabaseFeatures.allows_group_by_selected_pks_on_model() to allow enabling optimization for unmanaged models.  
						
						
						
						
					 
					
						2019-09-09 14:04:46 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						406dba04e1 
					 
					
						
						
							
							Fixed   #29406  -- Added support for Referrer-Policy header.  
						
						... 
						
						
						
						Thanks to James Bennett for the initial implementation. 
						
						
					 
					
						2019-09-09 13:35:41 +02:00 
						 
				 
			
				
					
						
							
							
								Johannes Hoppe 
							
						 
					 
					
						
						
							
						
						7254f1138d 
					 
					
						
						
							
							Refs  #29444  -- Allowed returning multiple fields from INSERT statements on PostgreSQL.  
						
						... 
						
						
						
						Thanks Florian Apolloner, Tim Graham, Simon Charette, Nick Pope, and
Mariusz Felisiak for reviews. 
						
						
					 
					
						2019-09-09 10:51:14 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						b6251956b6 
					 
					
						
						
							
							Fixed   #30757  -- Added a system check to ensure max_length fits the longest choice.  
						
						
						
						
					 
					
						2019-09-09 10:28:18 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						05d0eca635 
					 
					
						
						
							
							Fixed   #30426  -- Changed X_FRAME_OPTIONS setting default to DENY.  
						
						
						
						
					 
					
						2019-09-09 08:15:26 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						6c379f1a18 
					 
					
						
						
							
							Fixed   #30763  -- Fixed management commands when using required mutually exclusive groups.  
						
						
						
						
					 
					
						2019-09-06 10:55:24 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						b93d786251 
					 
					
						
						
							
							Made SchemaTests.test_alter_db_table_case run only on backends where table names are case-insensitive.  
						
						
						
						
					 
					
						2019-09-05 08:59:48 +02:00 
						 
				 
			
				
					
						
							
							
								Shai Berger 
							
						 
					 
					
						
						
							
						
						72ebe85a26 
					 
					
						
						
							
							Fixed   #27910  -- Added enumeration helpers for use in Field.choices.  
						
						... 
						
						
						
						These classes can serve as a base class for user enums, supporting
translatable human-readable names, or names automatically inferred
from the enum member name.
Additional properties make it easy to access the list of names, values
and display labels.
Thanks to the following for ideas and reviews:
Carlton Gibson, Fran Hrženjak, Ian Foote, Mariusz Felisiak, Shai Berger.
Co-authored-by: Shai Berger <shai@platonix.com >
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com >
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2019-09-04 14:42:49 +02:00 
						 
				 
			
				
					
						
							
							
								Nasir Hussain 
							
						 
					 
					
						
						
							
						
						25706d7285 
					 
					
						
						
							
							Fixed   #29714  -- Allowed using ExceptionReporter subclass with AdminEmailHandler.  
						
						
						
						
					 
					
						2019-09-04 08:40:46 +02:00 
						 
				 
			
				
					
						
							
							
								Viktor Lomakin 
							
						 
					 
					
						
						
							
						
						5931d2e96a 
					 
					
						
						
							
							Fixed   #30691  -- Made migrations autodetector find dependencies for foreign keys altering.  
						
						
						
						
					 
					
						2019-09-03 14:45:49 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						4f61810751 
					 
					
						
						
							
							Fixed   #30747  -- Renamed is_safe_url() to url_has_allowed_host_and_scheme().  
						
						
						
						
					 
					
						2019-09-02 15:32:23 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						13a8884a08 
					 
					
						
						
							
							Fixed   #30739  -- Fixed exclusion of multi-valued lookup against outer rhs.  
						
						... 
						
						
						
						OuterRef right hand sides have to be nested, just like F rhs have to,
during the subquery pushdown split_exclude performs to ensure they are
resolved against the outer query aliases. 
						
						
					 
					
						2019-09-02 10:52:36 +02:00 
						 
				 
			
				
					
						
							
							
								Alan Crosswell 
							
						 
					 
					
						
						
							
						
						03fa846c6a 
					 
					
						
						
							
							Fixed   #30731  -- Fixed handling trailing groups in simplify_regex().  
						
						... 
						
						
						
						Previously simplify_regex() didn't handle trailing groups for regexp
without the end of string character ("$"). 
						
						
					 
					
						2019-08-30 12:43:39 +02:00 
						 
				 
			
				
					
						
							
							
								Berker Peksag 
							
						 
					 
					
						
						
							
						
						400ec5125e 
					 
					
						
						
							
							Fixed   #18763  -- Added ModelBackend/UserManager.with_perm() methods.  
						
						... 
						
						
						
						Co-authored-by: Nick Pope <nick.pope@flightdataservices.com > 
						
						
					 
					
						2019-08-29 19:32:12 +02:00 
						 
				 
			
				
					
						
							
							
								daniel a rios 
							
						 
					 
					
						
						
							
						
						b5a5c92c72 
					 
					
						
						
							
							Fixed   #30066  -- Enabled super user creation without email and password  
						
						
						
						
					 
					
						2019-08-29 12:49:16 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						57b9604451 
					 
					
						
						
							
							Converted auth test to use subTest().  
						
						
						
						
					 
					
						2019-08-29 12:49:16 +02:00 
						 
				 
			
				
					
						
							
							
								Matthew Schinckel 
							
						 
					 
					
						
						
							
						
						4137fc2efc 
					 
					
						
						
							
							Fixed   #25367  -- Allowed boolean expressions in QuerySet.filter() and exclude().  
						
						... 
						
						
						
						This allows using expressions that have an output_field that is a
BooleanField to be used directly in a queryset filters, or in the
When() clauses of a Case() expression.
Thanks Josh Smeaton, Tim Graham, Simon Charette, Mariusz Felisiak, and
Adam Johnson for reviews.
Co-Authored-By: NyanKiyoshi <hello@vanille.bid > 
						
						
					 
					
						2019-08-29 09:45:29 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						069bee7c12 
					 
					
						
						
							
							Used skipUnlessDBFeature instead of checking vendor in test_filtering_on_annotate_that_uses_q.  
						
						
						
						
					 
					
						2019-08-29 09:40:34 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						c7f656435c 
					 
					
						
						
							
							Added tests for raising an error when passing non-boolean expression to When().  
						
						
						
						
					 
					
						2019-08-29 09:29:46 +02:00 
						 
				 
			
				
					
						
							
							
								Federico Jaramillo Martínez 
							
						 
					 
					
						
						
							
						
						8f6860863e 
					 
					
						
						
							
							Fixed   #30722  -- Added default rate-limiting requests to admin's Select2 widget.  
						
						
						
						
					 
					
						2019-08-27 13:47:36 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Brown 
							
						 
					 
					
						
						
							
						
						691def10a0 
					 
					
						
						
							
							Fixed   #30727  -- Made Subquery pickle without evaluating their QuerySet.  
						
						... 
						
						
						
						Subquery expression objects, when pickled, were evaluating the QuerySet
objects saved in its _constructor_args attribute. 
						
						
					 
					
						2019-08-27 13:05:20 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						03dbdfd9bb 
					 
					
						
						
							
							Fixed   #29019  -- Added ManyToManyField support to REQUIRED_FIELDS.  
						
						
						
						
					 
					
						2019-08-26 14:48:40 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						5dac63bb84 
					 
					
						
						
							
							Refs  #27804  -- Used subTest() in utils_tests/test_encoding.py.  
						
						
						
						
					 
					
						2019-08-26 11:58:06 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						579909a13f 
					 
					
						
						
							
							Refs  #30591  -- Fixed introspection of check and unique column constraints on MariaDB.  
						
						... 
						
						
						
						Unnamed unique and check columns constraints have the same name as
a column. Ensure uniqueness by using custom names.
Thanks Adnan Umer for the report. 
						
						
					 
					
						2019-08-26 09:15:37 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Gates 
							
						 
					 
					
						
						
							
						
						6b402b28b3 
					 
					
						
						
							
							Fixed typo in tests/prefetch_related/tests.py comment.  
						
						
						
						
					 
					
						2019-08-26 08:14:29 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						bb9e82f274 
					 
					
						
						
							
							Fixed   #29955  -- Added support for distance expression to the dwithin lookup.  
						
						... 
						
						
						
						This was missed when adding support to other distance lookups in
refs #25499 .
Thanks Peter Bex for the report and Mariusz for testcases. 
						
						
					 
					
						2019-08-23 21:28:28 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						92c72b68b7 
					 
					
						
						
							
							Fixed broken OracleDbshellTests tests after  9386586f31.  
						
						
						
						
					 
					
						2019-08-23 21:25:21 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						9386586f31 
					 
					
						
						
							
							Replaced subprocess commands by run() wherever possible.  
						
						
						
						
					 
					
						2019-08-23 10:53:36 +02:00 
						 
				 
			
				
					
						
							
							
								Min ho Kim 
							
						 
					 
					
						
						
							
						
						7bd9633320 
					 
					
						
						
							
							Fixed typos in test names and a comment.  
						
						
						
						
					 
					
						2019-08-23 10:46:43 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						521308e575 
					 
					
						
						
							
							Fixed   #30715  -- Fixed crash of ArrayField lookups on ArrayAgg annotations over AutoField.  
						
						
						
						
					 
					
						2019-08-23 10:43:08 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						5b4c6b58a0 
					 
					
						
						
							
							Fixed   #30064  -- Added form to validate admin search fields query input.  
						
						
						
						
					 
					
						2019-08-22 14:09:49 +02:00 
						 
				 
			
				
					
						
							
							
								Mads Jensen 
							
						 
					 
					
						
						
							
						
						85ac838d9e 
					 
					
						
						
							
							Fixed   #21039  -- Added AddIndexConcurrently/RemoveIndexConcurrently operations for PostgreSQL.  
						
						... 
						
						
						
						Thanks to Simon Charettes for review.
Co-Authored-By: Daniel Tao <daniel.tao@gmail.com > 
						
						
					 
					
						2019-08-21 13:10:06 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						22394bd3a1 
					 
					
						
						
							
							Fixed   #29667  -- Prohibited whitespaces in path() URLs.  
						
						
						
						
					 
					
						2019-08-20 11:53:10 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						21e559495b 
					 
					
						
						
							
							Fixed   #29979 , Refs  #17337  -- Extracted AutoField field logic into a mixin and refactored AutoFields.  
						
						... 
						
						
						
						This reduces duplication by allowing AutoField, BigAutoField and
SmallAutoField to inherit from IntegerField, BigIntegerField and
SmallIntegerField respectively. Doing so also allows for enabling the
max_length warning check and minimum/maximum value validation for auto
fields, as well as providing a mixin that can be used for other possible
future auto field types such as a theoretical UUIDAutoField. 
						
						
					 
					
						2019-08-20 09:22:25 +02:00 
						 
				 
			
				
					
						
							
							
								Mads Jensen 
							
						 
					 
					
						
						
							
						
						b10d322c41 
					 
					
						
						
							
							Moved migrations.test_operations.OperationTestBase to migrations.test_base.  
						
						... 
						
						
						
						Co-Authored-By: Daniel Tao <daniel.tao@gmail.com > 
						
						
					 
					
						2019-08-19 16:06:14 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						85458e94e3 
					 
					
						
						
							
							Fixed   #29260  -- Skipped an UPDATE when adding a model instance with primary key that has a default.  
						
						
						
						
					 
					
						2019-08-19 13:28:35 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						d1c2e6dd04 
					 
					
						
						
							
							Refs  #28428  -- Made FileField.upload_to support pathlib.Path.  
						
						
						
						
					 
					
						2019-08-18 20:34:58 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						af69842dbd 
					 
					
						
						
							
							Refs  #28428  -- Added test for a callable FileField.upload_to that returns pathlib.Path.  
						
						
						
						
					 
					
						2019-08-18 20:34:54 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						0468159763 
					 
					
						
						
							
							Refs  #30426  -- Changed default SECURE_CONTENT_TYPE_NOSNIFF to True.  
						
						
						
						
					 
					
						2019-08-18 13:17:49 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						8b4a43dda7 
					 
					
						
						
							
							Fixed   #29545  -- Fixed using filter lookups againts nested subquery expressions.  
						
						... 
						
						
						
						Made sql.Where resolve lhs of its child nodes. This is necessary to
allow filter lookups against nested subquery expressions to properly
resolve their OuterRefs to Cols.
Thanks Oskar Persson for the simplified test case. 
						
						
					 
					
						2019-08-17 11:24:35 +02:00