Ben Wilber 
							
						 
					 
					
						
						
							
						
						fff4870bfa 
					 
					
						
						
							
							Fixed   #32727  -- Allowed spaces before time zone offset in parse_datetime().  
						
						
						
						
					 
					
						2021-06-24 10:07:55 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						fcb75651f9 
					 
					
						
						
							
							Fixed   #32817  -- Added the token source to CsrfViewMiddleware's bad token error messages.  
						
						
						
						
					 
					
						2021-06-23 16:07:15 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						1a284afb07 
					 
					
						
						
							
							Refs  #32817  -- Added tests for bad CSRF token provided via X-CSRFToken or custom header.  
						
						
						
						
					 
					
						2021-06-23 16:07:07 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						6837bd68a4 
					 
					
						
						
							
							Refs  #32817  -- Added post_token/meta_token/token_header arguments to _get_POST_csrf_cookie_request().  
						
						
						
						
					 
					
						2021-06-23 16:07:07 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						999402f142 
					 
					
						
						
							
							Refs  #32817  -- Combined the bad-or-missing CSRF token tests.  
						
						
						
						
					 
					
						2021-06-23 16:07:07 +02:00 
						 
				 
			
				
					
						
							
							
								tomhamiltonstubber 
							
						 
					 
					
						
						
							
						
						1e5aa8e1c7 
					 
					
						
						
							
							Fixed   #32790  -- Ensured test Client handles redirects to domain indexes without a specified trailing slash.  
						
						
						
						
					 
					
						2021-06-23 12:32:29 +02:00 
						 
				 
			
				
					
						
							
							
								Nicolas Restrepo 
							
						 
					 
					
						
						
							
						
						bbb3965826 
					 
					
						
						
							
							Refs  #24121  -- Added __repr__() to StreamingHttpResponse and subclasses.  
						
						
						
						
					 
					
						2021-06-22 21:28:48 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						7a9745fed4 
					 
					
						
						
							
							Fixed   #32863  -- Skipped system check for specifying type of auto-created primary keys on models with invalid app_label.  
						
						... 
						
						
						
						Regression in b5e12d490a 
						
						
					 
					
						2021-06-22 20:47:15 +02:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						b9e872b593 
					 
					
						
						
							
							Refs  #32338  -- Removed 'for ="..."' from RadioSelect's <label>.  
						
						... 
						
						
						
						This improves accessibility for screen reader users.
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com > 
						
						
					 
					
						2021-06-22 10:59:29 +02:00 
						 
				 
			
				
					
						
							
							
								Igor Fernandes 
							
						 
					 
					
						
						
							
						
						e85d9c02ad 
					 
					
						
						
							
							Fixed   #32870  -- Improved error message when URLconf is empty.  
						
						
						
						
					 
					
						2021-06-22 08:09:53 +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 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						501a371411 
					 
					
						
						
							
							Fixed typo in makemessages error message.  
						
						
						
						
					 
					
						2021-06-21 21:23:59 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						225d96533a 
					 
					
						
						
							
							Fixed   #30427 ,  Fixed   #16176  -- Corrected setting descriptor in Field.contribute_to_class().  
						
						... 
						
						
						
						Co-authored-by: Jarek Glowacki <jarekwg@gmail.com > 
						
						
					 
					
						2021-06-15 12:01:28 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						0c0240aba8 
					 
					
						
						
							
							Refs  #30427 , Refs  #16176  -- Added test for abstract model inheritance.  
						
						
						
						
					 
					
						2021-06-15 11:42:52 +02:00 
						 
				 
			
				
					
						
							
							
								Keryn Knight 
							
						 
					 
					
						
						
							
						
						854e9b0668 
					 
					
						
						
							
							Fixed   #32824  -- Improved performance of NodeList.render().  
						
						... 
						
						
						
						This avoids the following:
 - checking that each item in the nodelist is a subclass of Node,
 - calling str() on the render_annotated() output, because it's
   documented that Node.render() must return a string,
 - calling mark_safe() on the output, when the value to be wrapped is
   definitively known to be a string because the result of ''.join()
   is always of that type,
 - using an intermediate list to store each individual string. 
						
						
					 
					
						2021-06-11 12:22:06 +02:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						2dfc1066a0 
					 
					
						
						
							
							Fixed   #25250  -- Clarified partially recorded state of squashed migrations in showmigrations --list.  
						
						
						
						
					 
					
						2021-06-11 09:35:42 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						de4f620183 
					 
					
						
						
							
							Fixed   #32609  -- Updated runtests.py to support directory path test labels.  
						
						... 
						
						
						
						For example, with this change, the following now works from the tests
directory:
    $ ./runtests.py view_tests/tests/ 
						
						
					 
					
						2021-06-10 20:19:30 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						fa0433d05f 
					 
					
						
						
							
							Fixed   #32832  -- Fixed adding BLOB/TEXT nullable field with default on MySQL 8.0.13+.  
						
						... 
						
						
						
						Regression in d4ac23bee1 
						
						
					 
					
						2021-06-10 20:03:43 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						8b4983cfd4 
					 
					
						
						
							
							Fixed typo in tests/test_runner/test_discover_runner.py.  
						
						
						
						
					 
					
						2021-06-10 13:25:05 +02:00 
						 
				 
			
				
					
						
							
							
								saeedblanchette 
							
						 
					 
					
						
						
							
						
						66ed03e7c9 
					 
					
						
						
							
							Refs  #24121  -- Added __repr__() to AdminForm, BlockContext, BlockTranslateNode, and IncludeNode.  
						
						
						
						
					 
					
						2021-06-10 12:47:53 +02:00 
						 
				 
			
				
					
						
							
							
								Ceesjan Luiten 
							
						 
					 
					
						
						
							
						
						cb6c19749d 
					 
					
						
						
							
							Refs  #27734  -- Prevented creation of more parallel workers than TestCases.  
						
						... 
						
						
						
						The parallel test runner uses multiple workers to distribute the
workload. These workers are assigned a worker ID using a globally
incremented variable, which determines what test database to connect
to. When the worker ID surpasses the test database IDs Django will
crash.
This reduce likelihood of crashing parallel tests because
ParallelTestSuite will no longer create more workers than TestCases.
It won't eliminate the problem completely though because there are
other circumstances in which new workers can be created which can then
be assigned an "illegal" worker ID. 
						
						
					 
					
						2021-06-10 07:32:15 +02:00 
						 
				 
			
				
					
						
							
							
								Angus Holder 
							
						 
					 
					
						
						
							
						
						3e73c65ffc 
					 
					
						
						
							
							Fixed   #32195  -- Added system check for invalid view in path() and improved error messages.  
						
						
						
						
					 
					
						2021-06-09 09:06:42 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						8f89454bbc 
					 
					
						
						
							
							Refs  #32195  -- Added path() test for invalid view.  
						
						
						
						
					 
					
						2021-06-09 08:58:41 +02:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						c0e29cec83 
					 
					
						
						
							
							Fixed   #25255  -- Recorded unapplied squashed migrations.  
						
						
						
						
					 
					
						2021-06-08 08:40:34 +02:00 
						 
				 
			
				
					
						
							
							
								Sanskar Jaiswal 
							
						 
					 
					
						
						
							
						
						8c3bd0b708 
					 
					
						
						
							
							Fixed   #31653  -- Added AddConstraintNotValid()/ValidateConstraint() operations for PostgreSQL.  
						
						
						
						
					 
					
						2021-06-08 07:46:51 +02:00 
						 
				 
			
				
					
						
							
							
								luzpaz 
							
						 
					 
					
						
						
							
						
						bbf09254a3 
					 
					
						
						
							
							Fixed typos in test comments.  
						
						
						
						
					 
					
						2021-06-07 20:54:28 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						87bb746ea6 
					 
					
						
						
							
							Refs  #32668  -- Renamed setup()/teardown() to setup_run_tests()/teardown_run_tests() in runtests.py.  
						
						
						
						
					 
					
						2021-06-07 09:04:27 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						9389d4d3db 
					 
					
						
						
							
							Refs  #32668  -- Changed bisect_tests() and paired_tests() to use only setup_collect_tests().  
						
						
						
						
					 
					
						2021-06-07 09:04:27 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						e96e93618c 
					 
					
						
						
							
							Refs  #32668  -- Passed setup()'s return value to run_tests() instead of get_installed().  
						
						
						
						
					 
					
						2021-06-07 09:04:27 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						b3083d5bd2 
					 
					
						
						
							
							Refs  #32668  -- Refactored out setup_collect_tests() in runtests.py.  
						
						
						
						
					 
					
						2021-06-07 09:04:24 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						9b9cea04b9 
					 
					
						
						
							
							Refs  #32668  -- Added gis_enabled argument to get_test_modules().  
						
						
						
						
					 
					
						2021-06-07 08:54:15 +02:00 
						 
				 
			
				
					
						
							
							
								aryabartar 
							
						 
					 
					
						
						
							
						
						651e527f9b 
					 
					
						
						
							
							Fixed   #32716  -- Fixed ManifestStaticFilesStorage crash when max_post_process_passes is 0.  
						
						
						
						
					 
					
						2021-06-07 07:56:20 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						7272e1963f 
					 
					
						
						
							
							Fixed   #32821  -- Updated os.scandir() uses to use a context manager.  
						
						
						
						
					 
					
						2021-06-07 06:52:42 +02:00 
						 
				 
			
				
					
						
							
							
								saeedblanchette 
							
						 
					 
					
						
						
							
						
						7dd502b0e1 
					 
					
						
						
							
							Refs  #24121  -- Added __repr__() to ChangeList and BaseStorage.  
						
						
						
						
					 
					
						2021-06-07 06:31:50 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						9812b486b5 
					 
					
						
						
							
							Refs  #32668  -- Simplified start_at/start_after logic in runtests.py's setup().  
						
						
						
						
					 
					
						2021-06-05 16:46:37 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						213850b4b9 
					 
					
						
						
							
							Refs  #32355  -- Used addClassCleanup() in tests.  
						
						... 
						
						
						
						Inspired by Adam Johnson talk on DjangoCon Europe 2021. 
						
						
					 
					
						2021-06-04 12:53:11 +02:00 
						 
				 
			
				
					
						
							
							
								Adam Johnson 
							
						 
					 
					
						
						
							
						
						2e4711c611 
					 
					
						
						
							
							Made SerializeMixin check lockfile attr at import time.  
						
						
						
						
					 
					
						2021-06-04 12:29:09 +02:00 
						 
				 
			
				
					
						
							
							
								Takayuki Hirayama 
							
						 
					 
					
						
						
							
						
						0393b9262d 
					 
					
						
						
							
							Fixed   #32812  -- Restored immutability of named values from QuerySet.values_list().  
						
						... 
						
						
						
						Regression in 981a072dd4 
						
						
					 
					
						2021-06-04 07:23:16 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						0d2816133c 
					 
					
						
						
							
							Refs  #32668  -- Simplified get_test_modules() in runtests.py.  
						
						... 
						
						
						
						This simplifies runtests.py's get_test_modules() in a few ways.  For
example, it changes the function to yield strings instead of returning
pairs of strings, which simplifies the calling code.
This commit also changes SUBDIRS_TO_SKIP from a list to a dict since
the directories to skip depend on the parent directory. 
						
						
					 
					
						2021-06-03 09:20:47 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						ffc0d57a04 
					 
					
						
						
							
							Refs  #32668  -- Refactored away module_found_in_labels in runtests.py's setup().  
						
						
						
						
					 
					
						2021-06-03 09:20:47 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						90f41c2d91 
					 
					
						
						
							
							Refs  #32668  -- Made setup()'s test_labels argument optional in runtests.py.  
						
						
						
						
					 
					
						2021-06-03 09:20:47 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						62e8f369c3 
					 
					
						
						
							
							Fixed   #32808  -- Prevented DiscoverRunner.build_suite() from mutating test loader patterns.  
						
						... 
						
						
						
						Thanks Chris Jerdonek for the report and reviews. 
						
						
					 
					
						2021-06-03 08:59:37 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						1b4d1675b2 
					 
					
						
						
							
							Refs  #32641  -- Made DiscoverRunner's "Found X tests" message work for finding one test.  
						
						... 
						
						
						
						This also removes passing level to log() as logging.INFO is the default. 
						
						
					 
					
						2021-06-02 12:53:09 +02:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						ec2727efef 
					 
					
						
						
							
							Fixed   #28154  -- Prevented infinite loop in FileSystemStorage.save() when a broken symlink with the same name exists.  
						
						
						
						
					 
					
						2021-06-02 12:20:22 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						e1d787f1b3 
					 
					
						
						
							
							Fixed CVE-2021-33571 -- Prevented leading zeros in IPv4 addresses.  
						
						... 
						
						
						
						validate_ipv4_address() was affected only on Python < 3.9.5, see [1].
URLValidator() uses a regular expressions and it was affected on all
Python versions.
[1] https://bugs.python.org/issue36384  
						
						
					 
					
						2021-06-02 10:58:39 +02:00 
						 
				 
			
				
					
						
							
							
								Florian Apolloner 
							
						 
					 
					
						
						
							
						
						46572de2e9 
					 
					
						
						
							
							Fixed CVE-2021-33203 -- Fixed potential path-traversal via admindocs' TemplateDetailView.  
						
						
						
						
					 
					
						2021-06-02 10:58:39 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						e703b152c6 
					 
					
						
						
							
							Fixed   #32793  -- Fixed loss of precision for temporal operations with DecimalFields on MySQL.  
						
						... 
						
						
						
						Regression in 1e38f1191d 
						
						
					 
					
						2021-06-01 15:11:42 +02:00 
						 
				 
			
				
					
						
							
							
								Daniyal 
							
						 
					 
					
						
						
							
						
						a0410ffe8f 
					 
					
						
						
							
							Refs  #32552  -- Added DiscoverRunner.log() to allow customization.  
						
						... 
						
						
						
						Thanks Carlton Gibson, Chris Jerdonek, and David Smith for reviews. 
						
						
					 
					
						2021-06-01 13:31:44 +02:00 
						 
				 
			
				
					
						
							
							
								Chris Jerdonek 
							
						 
					 
					
						
						
							
						
						cd19db10df 
					 
					
						
						
							
							Fixed   #32796  -- Changed CsrfViewMiddleware to fail earlier on badly formatted cookie tokens.  
						
						
						
						
					 
					
						2021-06-01 09:02:27 +02:00