Claude Paroz 
							
						 
					 
					
						
						
							
						
						3eb72ad30f 
					 
					
						
						
							
							[3.2.x] Refs  #31003  -- Moved note about return value of QuerySet.bulk_create() to the first paragraph.  
						
						... 
						
						
						
						Backport of cac9ec73db 
						
						
					 
					
						2021-03-25 20:35:40 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						49970b5e4d 
					 
					
						
						
							
							[3.2.x] Refs  #32483  -- Doc'd caveat about using JSONField key transforms to booleans with QuerySet.values()/values_list() on SQLite.  
						
						... 
						
						
						
						Backport of c6b07627fc 
						
						
					 
					
						2021-03-04 11:31:00 +01:00 
						 
				 
			
				
					
						
							
							
								Timothy McCurrach 
							
						 
					 
					
						
						
							
						
						e95a60bb64 
					 
					
						
						
							
							[3.2.x]  Fixed   #32388  -- Clarified QuerySet.bulk_update() caveat about duplicates for multiple batches.  
						
						... 
						
						
						
						Backport of 241da3f06e 
						
						
					 
					
						2021-01-28 08:07:14 +01:00 
						 
				 
			
				
					
						
							
							
								Iuri de Silvio 
							
						 
					 
					
						
						
							
						
						02391bc98c 
					 
					
						
						
							
							Fixed   #32313  -- Corrected QuerySet.in_bulk() signature.  
						
						
						
						
					 
					
						2021-01-11 08:00:49 +01:00 
						 
				 
			
				
					
						
							
							
								Alexander Lyabah 
							
						 
					 
					
						
						
							
						
						415f50298f 
					 
					
						
						
							
							Fixed   #32231  -- Allowed passing None params to QuerySet.raw().  
						
						
						
						
					 
					
						2021-01-05 10:37:11 +01:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						550297d20d 
					 
					
						
						
							
							Added backticks to code literals in various docs.  
						
						
						
						
					 
					
						2020-12-15 07:19:00 +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 
						 
				 
			
				
					
						
							
							
								Paweł Zarębski 
							
						 
					 
					
						
						
							
						
						054ab1e00f 
					 
					
						
						
							
							Fixed example of QuerySet.explain() with flags in docs.  
						
						
						
						
					 
					
						2020-09-23 11:47:31 +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 
						 
				 
			
				
					
						
							
							
								Kaustubh 
							
						 
					 
					
						
						
							
						
						b9be11d442 
					 
					
						
						
							
							Fixed   #31918  -- Allowed QuerySet.in_bulk() to fetch on a single distinct field.  
						
						
						
						
					 
					
						2020-08-26 09:43:39 +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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						dbdc192ca3 
					 
					
						
						
							
							Preferred usage of among/while to amongst/whilst.  
						
						
						
						
					 
					
						2020-06-03 21:02:48 +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 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						83c631ade7 
					 
					
						
						
							
							Improved wording in Q() docs.  
						
						
						
						
					 
					
						2020-05-06 06:43:28 +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 
							
						 
					 
					
						
						
							
						
						93ed71e058 
					 
					
						
						
							
							Fixed   #31403  -- Added support for returning fields from INSERT statements on MariaDB 10.5+.  
						
						
						
						
					 
					
						2020-03-31 07:25:50 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						53b6a466d8 
					 
					
						
						
							
							Refs  #29724  -- Added is_dst parameter to QuerySet.datetimes().  
						
						... 
						
						
						
						Thanks Simon Charette for the review and Mariusz Felisiak for tests. 
						
						
					 
					
						2020-03-20 12:55:33 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						30ca66eadd 
					 
					
						
						
							
							Added missing backticks in various docs.  
						
						
						
						
					 
					
						2020-03-06 11:52:49 +01:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						382af9b141 
					 
					
						
						
							
							Fixed   #31003  -- Doc'd and tested return value of QuerySet.bulk_create().  
						
						
						
						
					 
					
						2020-02-10 08:36:50 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						0107e3d105 
					 
					
						
						
							
							Fixed   #30953  -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.  
						
						... 
						
						
						
						Thanks Abhijeet Viswa for the report and initial patch. 
						
						
					 
					
						2019-12-02 07:57:19 +01:00 
						 
				 
			
				
					
						
							
							
								kola-er 
							
						 
					 
					
						
						
							
						
						d94d7b113c 
					 
					
						
						
							
							Fixed   #30928  -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.  
						
						... 
						
						
						
						Thanks Par Andersson for reporting the issue. 
						
						
					 
					
						2019-11-05 14:34:40 +01:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						cabf1fe37e 
					 
					
						
						
							
							Refs  #30897  -- Made cosmetic edits to QuerySet.explain() documentation.  
						
						
						
						
					 
					
						2019-10-24 15:16:25 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						55df1750be 
					 
					
						
						
							
							Refs  #30897  -- Added support for ANALYZE option to Queryset.explain() on MariaDB and MySQL 8.0.18+.  
						
						
						
						
					 
					
						2019-10-24 15:13:26 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						742961332e 
					 
					
						
						
							
							Refs  #30897  -- Added support for TREE format to Queryset.explain() on MySQL 8.0.16+.  
						
						
						
						
					 
					
						2019-10-24 15:13:23 +02:00 
						 
				 
			
				
					
						
							
							
								Antonio Dudarev 
							
						 
					 
					
						
						
							
						
						6c23b43655 
					 
					
						
						
							
							Refs  #13724  -- Corrected QuerySet signature in docs.  
						
						
						
						
					 
					
						2019-10-22 14:23:21 +02:00 
						 
				 
			
				
					
						
							
							
								André Ericson 
							
						 
					 
					
						
						
							
						
						31174031f1 
					 
					
						
						
							
							Fixed   #30841  -- Deprecated using non-boolean values for isnull lookup.  
						
						
						
						
					 
					
						2019-10-21 08:44:20 +02:00 
						 
				 
			
				
					
						
							
							
								Anatol Ulrich 
							
						 
					 
					
						
						
							
						
						8ed6788aa4 
					 
					
						
						
							
							Fixed   #30821  -- Added ExtractIsoWeekYear database function and iso_week_day lookup.  
						
						
						
						
					 
					
						2019-10-02 10:41:34 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						416c584cab 
					 
					
						
						
							
							Removed versionadded/changed annotations for 2.2.  
						
						
						
						
					 
					
						2019-09-10 12:01:00 +02:00 
						 
				 
			
				
					
						
							
							
								Tobias Kunze 
							
						 
					 
					
						
						
							
						
						4a954cfd11 
					 
					
						
						
							
							Fixed   #30573  -- Rephrased documentation to avoid words that minimise the involved difficulty.  
						
						... 
						
						
						
						This patch does not remove all occurrences of the words in question.
Rather, I went through all of the occurrences of the words listed
below, and judged if they a) suggested the reader had some kind of
knowledge/experience, and b) if they added anything of value (including
tone of voice, etc). I left most of the words alone. I looked at the
following words:
- simply/simple
- easy/easier/easiest
- obvious
- just
- merely
- straightforward
- ridiculous
Thanks to Carlton Gibson for guidance on how to approach this issue, and
to Tim Bell for providing the idea. But the enormous lion's share of
thanks go to Adam Johnson for his patient and helpful review. 
						
						
					 
					
						2019-09-06 13:27:46 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew 
							
						 
					 
					
						
						
							
						
						29adcd215f 
					 
					
						
						
							
							Fixed   #30733  -- Doc'd that datetime lookups require time zone definitions in the database.  
						
						... 
						
						
						
						Note was missing for date, year, iso_year, week, time, hour, minute,
and second lookups. 
						
						
					 
					
						2019-08-28 08:42:55 +02:00 
						 
				 
			
				
					
						
							
							
								Étienne Beaulé 
							
						 
					 
					
						
						
							
						
						5f24e7158e 
					 
					
						
						
							
							Fixed   #30665  -- Added support for distinct argument to Avg() and Sum().  
						
						
						
						
					 
					
						2019-07-31 11:22:50 +02:00 
						 
				 
			
				
					
						
							
							
								Alex 
							
						 
					 
					
						
						
							
						
						1686dce06c 
					 
					
						
						
							
							Fixed   #30199  -- Adjusted QuerySet.get_or_create() docs to highlight atomicity warning.  
						
						
						
						
					 
					
						2019-05-17 12:23:10 +02:00 
						 
				 
			
				
					
						
							
							
								Daniel Musketa 
							
						 
					 
					
						
						
							
						
						6fd9c9daa6 
					 
					
						
						
							
							Fixed   #30365  -- Fixed syntax highlighting in SQL examples.  
						
						... 
						
						
						
						Sphinx interprets some "%[a-z]" in SQL statements as a
"Literal.String.Interpol" which leads to incorrect highlighting. 
						
						
					 
					
						2019-04-23 12:37:50 +02:00 
						 
				 
			
				
					
						
							
							
								Ville Skyttä 
							
						 
					 
					
						
						
							
						
						03db5fddfd 
					 
					
						
						
							
							Fixed typos in docs, comments, and exception messages.  
						
						
						
						
					 
					
						2019-04-18 09:33:53 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						198a2a9381 
					 
					
						
						
							
							Removed unnecessary /static from links to PostgreSQL docs.  
						
						
						
						
					 
					
						2019-03-29 21:49:44 -04:00 
						 
				 
			
				
					
						
							
							
								Paul Wayper 
							
						 
					 
					
						
						
							
						
						1025e76429 
					 
					
						
						
							
							Fixed   #30253  -- Doc'd how to order nulls in QuerySet.order_by().  
						
						
						
						
					 
					
						2019-03-18 10:32:38 -04:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						759a9b710c 
					 
					
						
						
							
							Updated Oracle docs links to Oracle 18c.  
						
						
						
						
					 
					
						2019-02-07 09:59:47 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						24b82cd201 
					 
					
						
						
							
							Fixed   #30159  -- Removed unneeded use of OrderedDict.  
						
						... 
						
						
						
						Dicts preserve order since Python 3.6. 
						
						
					 
					
						2019-02-06 13:48:39 -05:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						39ebdf5a3c 
					 
					
						
						
							
							Fixed   #30155  -- Dropped support for PostgreSQL 9.4 and PostGIS 2.1.  
						
						
						
						
					 
					
						2019-02-04 18:07:02 -05:00