Tom Forbes 
							
						 
					 
					
						
						
							
						
						b5e12d490a 
					 
					
						
						
							
							Fixed   #31007  -- Allowed specifying type of auto-created primary keys.  
						
						... 
						
						
						
						This also changes the default type of auto-created primary keys
for new apps and projects to BigAutoField. 
						
						
					 
					
						2020-12-15 11:25:46 +01:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						550297d20d 
					 
					
						
						
							
							Added backticks to code literals in various docs.  
						
						
						
						
					 
					
						2020-12-15 07:19:00 +01:00 
						 
				 
			
				
					
						
							
							
								Kevin Marsh 
							
						 
					 
					
						
						
							
						
						45f4282149 
					 
					
						
						
							
							Refs  #31792  -- Updated SQL example in Exists() docs.  
						
						... 
						
						
						
						Follow up to 51297a9232 
						
						
					 
					
						2020-12-10 21:01:57 +01:00 
						 
				 
			
				
					
						
							
							
								Artur Beltsov 
							
						 
					 
					
						
						
							
						
						48b4bae983 
					 
					
						
						
							
							Fixed   #32179  -- Added JSONObject database function.  
						
						
						
						
					 
					
						2020-12-02 09:30:50 +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 
						 
				 
			
				
					
						
							
							
								David-Wobrock 
							
						 
					 
					
						
						
							
						
						7b42d34646 
					 
					
						
						
							
							Refs  #27718  -- Doc'd and tested QuerySet.exists() for combined querysets.  
						
						... 
						
						
						
						Supported since 84c1826ded 
						
						
					 
					
						2020-11-16 15:15:41 +01:00 
						 
				 
			
				
					
						
							
							
								Caio Ariede 
							
						 
					 
					
						
						
							
						
						9a3454f604 
					 
					
						
						
							
							Fixed   #31122  -- Clarified that Lookup acts as a query expression.  
						
						
						
						
					 
					
						2020-11-11 14:29:06 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						06c5d3fafc 
					 
					
						
						
							
							Fixed   #32060  -- Added Random database function.  
						
						
						
						
					 
					
						2020-10-02 06:58:03 +02:00 
						 
				 
			
				
					
						
							
							
								Paweł Zarębski 
							
						 
					 
					
						
						
							
						
						054ab1e00f 
					 
					
						
						
							
							Fixed example of QuerySet.explain() with flags in docs.  
						
						
						
						
					 
					
						2020-09-23 11:47:31 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Carrick 
							
						 
					 
					
						
						
							
						
						e387f191f7 
					 
					
						
						
							
							Fixed   #31777  -- Added support for database collations to Char/TextFields.  
						
						... 
						
						
						
						Thanks Simon Charette and Mariusz Felisiak for reviews. 
						
						
					 
					
						2020-09-21 18:24:56 +02:00 
						 
				 
			
				
					
						
							
							
								Mike Lissner 
							
						 
					 
					
						
						
							
						
						8c0794ba0d 
					 
					
						
						
							
							Refs  #28939  -- Doc’d Prefetch behavior with multiple DBs.  
						
						
						
						
					 
					
						2020-09-17 14:26:33 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						9a0e5052ed 
					 
					
						
						
							
							Corrected exception types in QuerySet docs.  
						
						
						
						
					 
					
						2020-09-13 20:09:44 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						5362e08624 
					 
					
						
						
							
							Fixed   #31943  -- Fixed recreating QuerySet.values()/values_list() when using a pickled Query.  
						
						
						
						
					 
					
						2020-09-11 07:58:52 +02:00 
						 
				 
			
				
					
						
							
							
								Joe Jackson 
							
						 
					 
					
						
						
							
						
						9d5d865fd6 
					 
					
						
						
							
							Fixed   #31948  -- Added tzinfo parameter to TruncDate() and TruncTime().  
						
						
						
						
					 
					
						2020-09-02 07:42:27 +02:00 
						 
				 
			
				
					
						
							
							
								Kaustubh 
							
						 
					 
					
						
						
							
						
						b9be11d442 
					 
					
						
						
							
							Fixed   #31918  -- Allowed QuerySet.in_bulk() to fetch on a single distinct field.  
						
						
						
						
					 
					
						2020-08-26 09:43:39 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Carrick 
							
						 
					 
					
						
						
							
						
						63300f7e68 
					 
					
						
						
							
							Fixed   #21181  -- Added Collate database function.  
						
						... 
						
						
						
						Thanks Simon Charette for reviews. 
						
						
					 
					
						2020-08-11 22:21:08 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Alton 
							
						 
					 
					
						
						
							
						
						6e9c5ee88f 
					 
					
						
						
							
							Removed unnecessary sentence in QuerySet docs.  
						
						
						
						
					 
					
						2020-08-07 08:05:47 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandr Tatarinov 
							
						 
					 
					
						
						
							
						
						f4ac167119 
					 
					
						
						
							
							Fixed   #27719  -- Added QuerySet.alias() to allow creating reusable aliases.  
						
						... 
						
						
						
						QuerySet.alias() allows creating reusable aliases for expressions that
don't need to be selected but are used for filtering, ordering, or as
a part of complex expressions.
Thanks Simon Charette for reviews. 
						
						
					 
					
						2020-07-31 13:19:33 +02:00 
						 
				 
			
				
					
						
							
							
								Ramiro Morales 
							
						 
					 
					
						
						
							
						
						51e536178c 
					 
					
						
						
							
							Fixed typo in docs/ref/models/querysets.txt.  
						
						
						
						
					 
					
						2020-07-22 22:53:20 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						bc4fea92b2 
					 
					
						
						
							
							Doc'd Model.MultipleObjectsReturned docs and improved documentation related with models exceptions.  
						
						
						
						
					 
					
						2020-07-22 14:21:08 +01:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						b5f0efa19c 
					 
					
						
						
							
							Refs  #24763  -- Moved DoesNotExist to Model class docs.  
						
						
						
						
					 
					
						2020-07-22 12:56:21 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						e7fa8aff43 
					 
					
						
						
							
							Improved ManyToManyField.through docs.  
						
						
						
						
					 
					
						2020-07-17 10:29:24 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						156a2138db 
					 
					
						
						
							
							Refs  #30446  -- Removed unnecessary Value(..., output_field) in docs and tests.  
						
						
						
						
					 
					
						2020-07-15 10:58:38 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						1e38f1191d 
					 
					
						
						
							
							Fixed   #30446  -- Resolved Value.output_field for stdlib types.  
						
						... 
						
						
						
						This required implementing a limited form of dynamic dispatch to combine
expressions with numerical output. Refs #26355  should eventually provide
a better interface for that. 
						
						
					 
					
						2020-07-15 10:58:29 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						ca6c5e5fc2 
					 
					
						
						
							
							Fixed   #31770  -- Allowed select_for_update(of) on MySQL 8.0.1+.  
						
						
						
						
					 
					
						2020-07-13 10:15:43 +02:00 
						 
				 
			
				
					
						
							
							
								matt ferrante 
							
						 
					 
					
						
						
							
						
						7d6916e827 
					 
					
						
						
							
							Fixed   #29789  -- Added support for nested relations to FilteredRelation.  
						
						
						
						
					 
					
						2020-07-09 20:24:00 +02:00 
						 
				 
			
				
					
						
							
							
								davidchorpash 
							
						 
					 
					
						
						
							
						
						779e615e36 
					 
					
						
						
							
							Fixed   #31573  -- Made QuerySet.update() respect ordering on MariaDB/MySQL.  
						
						
						
						
					 
					
						2020-07-08 11:43:50 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Park 
							
						 
					 
					
						
						
							
						
						697e59d5cf 
					 
					
						
						
							
							Fixed   #31502  -- Documented Model._state.db and Model._state.adding  
						
						
						
						
					 
					
						2020-07-08 10:05:47 +02:00 
						 
				 
			
				
					
						
							
							
								Steven Pousty 
							
						 
					 
					
						
						
							
						
						d2c135da4c 
					 
					
						
						
							
							Fixed   #31743  -- Doc't that managed=False prevents Django from managing tables modifications.  
						
						
						
						
					 
					
						2020-06-26 08:46:01 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						7edc6e53a7 
					 
					
						
						
							
							Fixed   #31702  -- Added support for PostgreSQL opclasses in UniqueConstraint.  
						
						
						
						
					 
					
						2020-06-16 07:19:00 +02:00 
						 
				 
			
				
					
						
							
							
								Tobias Krönke 
							
						 
					 
					
						
						
							
						
						69e0d9c553 
					 
					
						
						
							
							Fixed   #31689  -- Doc'd caveat about using bulk_create()'s ignore_conflicts on MariDB and MySQL.  
						
						
						
						
					 
					
						2020-06-15 12:10:15 +02:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						8c7992f658 
					 
					
						
						
							
							Fixed   #30913  -- Added support for covering indexes on PostgreSQL 11+.  
						
						
						
						
					 
					
						2020-06-04 12:26:22 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						55556e51fb 
					 
					
						
						
							
							Fixed   #31650  -- Added note uniqueness of constraints names in docs.  
						
						
						
						
					 
					
						2020-06-04 07:36:12 +02:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						dbdc192ca3 
					 
					
						
						
							
							Preferred usage of among/while to amongst/whilst.  
						
						
						
						
					 
					
						2020-06-03 21:02:48 +02:00 
						 
				 
			
				
					
						
							
							
								Ryan Heard 
							
						 
					 
					
						
						
							
						
						587b179d41 
					 
					
						
						
							
							Fixed   #31606  -- Allowed using condition with lookups in When() expression.  
						
						
						
						
					 
					
						2020-05-27 07:32:23 +02:00 
						 
				 
			
				
					
						
							
							
								Manuel Weitzman 
							
						 
					 
					
						
						
							
						
						a4e6030904 
					 
					
						
						
							
							Fixed   #30375  -- Added FOR NO KEY UPDATE support to QuerySet.select_for_update() on PostgreSQL.  
						
						
						
						
					 
					
						2020-05-21 10:51:10 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						4c5236ef93 
					 
					
						
						
							
							Removed versionadded/changed annotations for 3.0.  
						
						
						
						
					 
					
						2020-05-13 09:07:51 +02:00 
						 
				 
			
				
					
						
							
							
								sage 
							
						 
					 
					
						
						
							
						
						6789ded0a6 
					 
					
						
						
							
							Fixed   #12990 , Refs  #27694  -- Added JSONField model field.  
						
						... 
						
						
						
						Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael
Michel for mentoring this Google Summer of Code 2019 project and
everyone else who helped with the patch.
Special thanks to Mads Jensen, Nick Pope, and Simon Charette for
extensive reviews.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2020-05-08 07:23:31 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						83c631ade7 
					 
					
						
						
							
							Improved wording in Q() docs.  
						
						
						
						
					 
					
						2020-05-06 06:43:28 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						1c2c6f1b51 
					 
					
						
						
							
							Fixed a/an typos in "SQL" usage.  
						
						
						
						
					 
					
						2020-05-06 06:35:26 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						d17b380653 
					 
					
						
						
							
							Refs  #30573  -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments.  
						
						
						
						
					 
					
						2020-05-04 12:10:47 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						787981f9d1 
					 
					
						
						
							
							Corrected models.FilePathField signature in docs.  
						
						
						
						
					 
					
						2020-05-04 12:10:41 +02:00 
						 
				 
			
				
					
						
							
							
								Ian Foote 
							
						 
					 
					
						
						
							
						
						c226c6cb32 
					 
					
						
						
							
							Fixed   #20581  -- Added support for deferrable unique constraints.  
						
						
						
						
					 
					
						2020-04-30 10:43:50 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						d6db186427 
					 
					
						
						
							
							Fixed   #31514  -- Fixed default form widgets in model fields docs.  
						
						
						
						
					 
					
						2020-04-25 21:20:29 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Schilling 
							
						 
					 
					
						
						
							
						
						a92cc84b4a 
					 
					
						
						
							
							Refs  #31369  -- Deprecated models.NullBooleanField in favor of BooleanField(null=True).  
						
						
						
						
					 
					
						2020-04-24 10:10:45 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						cc70a0343e 
					 
					
						
						
							
							Fixed term warning on Sphinx 3.0.1+.  
						
						... 
						
						
						
						"term" role became case sensitive in Sphinx 3.0.1. 
						
						
					 
					
						2020-04-14 09:32:09 +02:00 
						 
				 
			
				
					
						
							
							
								miigotu 
							
						 
					 
					
						
						
							
						
						210657b791 
					 
					
						
						
							
							Fixed   #28184  -- Allowed using a callable for FileField and ImageField storage.  
						
						
						
						
					 
					
						2020-04-08 11:26:17 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						69e2cd6fed 
					 
					
						
						
							
							Fixed Sphinx warnings on duplicate object descriptions.  
						
						
						
						
					 
					
						2020-04-07 09:48:52 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						1cdfe8d912 
					 
					
						
						
							
							Prevented (and corrected) single backtick usage in docs.  
						
						
						
						
					 
					
						2020-04-01 14:55:11 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						93ed71e058 
					 
					
						
						
							
							Fixed   #31403  -- Added support for returning fields from INSERT statements on MariaDB 10.5+.  
						
						
						
						
					 
					
						2020-03-31 07:25:50 +02:00