William Schwartz 
							
						 
					 
					
						
						
							
						
						ec6d2531c5 
					 
					
						
						
							
							Fixed   #32314  -- Fixed detection when started non-django modules with "python -m" in autoreloader.  
						
						... 
						
						
						
						django.utils.autoreload.get_child_arguments() detected when Python was
started with the `-m` option only for `django` module. This commit
changes the logic to check __spec__, see
https://docs.python.org/3/reference/import.html#main-spec 
Now packages can implement their own __main__ with the runserver
command. 
						
						
					 
					
						2021-01-05 21:03:29 +01:00 
						 
				 
			
				
					
						
							
							
								Alexander Lyabah 
							
						 
					 
					
						
						
							
						
						415f50298f 
					 
					
						
						
							
							Fixed   #32231  -- Allowed passing None params to QuerySet.raw().  
						
						
						
						
					 
					
						2021-01-05 10:37:11 +01:00 
						 
				 
			
				
					
						
							
							
								Alexander Lyabah 
							
						 
					 
					
						
						
							
						
						aa3d360631 
					 
					
						
						
							
							Refs  #32231  -- Added tests for QuerySet.raw() with an escaped % symbol.  
						
						
						
						
					 
					
						2021-01-05 10:36:30 +01:00 
						 
				 
			
				
					
						
							
							
								Fabio Sangiovanni 
							
						 
					 
					
						
						
							
						
						2d6c9b97bc 
					 
					
						
						
							
							Fixed   #32310  -- Fixed note about reverse accessors for intermediate table for self-referential ManyToManyField.  
						
						
						
						
					 
					
						2021-01-04 20:16:07 +01:00 
						 
				 
			
				
					
						
							
							
								Akshat1Nar 
							
						 
					 
					
						
						
							
						
						b41d38ae26 
					 
					
						
						
							
							Fixed   #32298  -- Fixed URLValidator hostname length validation.  
						
						... 
						
						
						
						URLValidator now validates the maximum length of a hostname without
the userinfo and port. 
						
						
					 
					
						2021-01-04 09:25:40 +01:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						966ed414b2 
					 
					
						
						
							
							Added stub release notes for 3.1.6.  
						
						
						
						
					 
					
						2021-01-04 08:58:03 +01:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						767917ed49 
					 
					
						
						
							
							Added release date for 3.1.5.  
						
						
						
						
					 
					
						2021-01-04 08:31:51 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						2e7ba6057c 
					 
					
						
						
							
							Refs  #28741  -- Doc'd SESSION_COOKIE_DOMAIN requirement with CSRF_USE_SESSIONS.  
						
						... 
						
						
						
						Similar considerations as refs #32065 , again adding some nuance to
afd375fc34 
						
						
					 
					
						2021-01-04 07:49:30 +01:00 
						 
				 
			
				
					
						
							
							
								Roland Geider 
							
						 
					 
					
						
						
							
						
						3363cf4225 
					 
					
						
						
							
							Fixed typo in docs/ref/templates/builtins.txt.  
						
						
						
						
					 
					
						2021-01-04 07:34:53 +01:00 
						 
				 
			
				
					
						
							
							
								William Schwartz 
							
						 
					 
					
						
						
							
						
						0ea1866f6e 
					 
					
						
						
							
							Simplified django.db.utils.load_backend().  
						
						... 
						
						
						
						Previously load_backend() performed search by computing the (sole)
entry of django.db.backends.__path__ manually from
django.db.utils.__file__. Now django.db.backends.__path__ is used
directly. 
						
						
					 
					
						2021-01-04 07:16:13 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						060e6bdd1f 
					 
					
						
						
							
							Replaced DatabaseFeatures.supports_left_right_lookups with skipUnlessGISLookup.  
						
						
						
						
					 
					
						2021-01-02 21:39:48 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						656b331b13 
					 
					
						
						
							
							Updated CVE URL.  
						
						
						
						
					 
					
						2021-01-02 12:49:00 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						e13b71403b 
					 
					
						
						
							
							Fixed   #32304  -- Fixed prefixing STATIC_URL and MEDIA_URL by SCRIPT_NAME for absolute URLs with no domain.  
						
						... 
						
						
						
						Thanks Adam Hooper for the report.
Regression in c574bec092 
						
						
					 
					
						2020-12-31 13:18:57 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						a2e3f95b09 
					 
					
						
						
							
							Fixed   #31413  -- Fixed isolation of migrations.test_loader on databases that don't support transactions.  
						
						
						
						
					 
					
						2020-12-31 08:18:51 +01:00 
						 
				 
			
				
					
						
							
							
								manav014 
							
						 
					 
					
						
						
							
						
						a9a7421ab8 
					 
					
						
						
							
							Fixed   #32294  -- Prevented ManyToManyField's hidden related name collisions between apps.  
						
						
						
						
					 
					
						2020-12-30 13:11:47 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						74fd233b14 
					 
					
						
						
							
							Fixed   #32303  -- Bumped minimum supported SQLite to 3.9.0.  
						
						
						
						
					 
					
						2020-12-30 09:01:56 +01:00 
						 
				 
			
				
					
						
							
							
								William Schwartz 
							
						 
					 
					
						
						
							
						
						e64c1d8055 
					 
					
						
						
							
							Fixed   #32302  -- Allowed migrations to be loaded from regular packages with no __file__ attribute.  
						
						... 
						
						
						
						The migrations loader prevents the use of PEP-420 namespace packages
for holding apps' migrations modules. Previously the loader tested for
this only by checking that app.migrations.__file__ is present. This
prevented migrations' being found in frozen Python environments that
don't set __file__ on any modules. Now the loader *additionally* checks
whether app.migrations.__path__ is a list because namespace packages
use a different type for __path__. Namespace packages continue to be
forbidden, and, in fact, users of normal Python environments should
experience no change whatsoever. 
						
						
					 
					
						2020-12-29 12:54:08 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						98ad327864 
					 
					
						
						
							
							Fixed   #32299  -- Prevented mutating handlers when processing middlewares marking as unused in an async context.  
						
						... 
						
						
						
						Thanks Hubert Bielenia for the report. 
						
						
					 
					
						2020-12-29 09:04:35 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						45519937e5 
					 
					
						
						
							
							Added app labels to related fields checks messages E302-E305.  
						
						
						
						
					 
					
						2020-12-29 09:01:35 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						72d04e0385 
					 
					
						
						
							
							Corrected related fields checks messages in docs.  
						
						
						
						
					 
					
						2020-12-29 09:01:35 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ce30e750e6 
					 
					
						
						
							
							Used model's Options.label where applicable.  
						
						... 
						
						
						
						Follow up to b7a3a6c9ef 
						
						
					 
					
						2020-12-29 08:56:39 +01:00 
						 
				 
			
				
					
						
							
							
								Florian Apolloner 
							
						 
					 
					
						
						
							
						
						c76d51b3ad 
					 
					
						
						
							
							Refs  #31358  -- Fixed decoding salt in Argon2PasswordHasher.  
						
						... 
						
						
						
						Argon2 encodes the salt as base64 for representation in the final hash
output. To be able to accurately return the used salt from decode(),
add padding, b64decode, and decode from latin1 (for the remote
possibility that someone supplied a custom hash consisting solely of
bytes -- this would require a manual construction of the hash though,
Django's interface does not allow for that). 
						
						
					 
					
						2020-12-28 11:02:08 +01:00 
						 
				 
			
				
					
						
							
							
								Florian Apolloner 
							
						 
					 
					
						
						
							
						
						1b7086b2ea 
					 
					
						
						
							
							Refs  #31358  -- Simplified Argon2PasswordHasher.must_update() by using decode().  
						
						
						
						
					 
					
						2020-12-28 11:02:03 +01:00 
						 
				 
			
				
					
						
							
							
								François Freitag 
							
						 
					 
					
						
						
							
						
						b11ec9a69e 
					 
					
						
						
							
							Fixed   #32301  -- Made clearsessions raise CommandError when clear_expired() is not implemented.  
						
						
						
						
					 
					
						2020-12-28 09:30:16 +01:00 
						 
				 
			
				
					
						
							
							
								Chinmoy Chakraborty 
							
						 
					 
					
						
						
							
						
						270072c4c2 
					 
					
						
						
							
							Fixed   #32158  -- Fixed loaddata crash on SQLite when table/column names are SQL keywords.  
						
						
						
						
					 
					
						2020-12-28 08:57:30 +01:00 
						 
				 
			
				
					
						
							
							
								Jacob Walls 
							
						 
					 
					
						
						
							
						
						89fc144ded 
					 
					
						
						
							
							Fixed   #27827  -- Used "raise from" when raising InvalidTemplateLibrary exceptions in get_package_libraries().  
						
						... 
						
						
						
						This change sets the __cause__ attribute to raised exceptions and makes
small cleanups in error messages. 
						
						
					 
					
						2020-12-28 07:31:37 +01:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						429d089d0a 
					 
					
						
						
							
							Refs  #30367  -- Changed remaining "pip install" to "python -m pip install" in docs.  
						
						
						
						
					 
					
						2020-12-23 17:21:25 +01:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						d3b3eb860d 
					 
					
						
						
							
							Removed forms-MAX_NUM_FORMS POST data in docs  
						
						... 
						
						
						
						The field is ignored server-side and only exists as a client-side
convenience. Removing it slightly simplifies the documentation and
avoids some distractions.
Added note:: for MIN_NUM_FORMS/MAX_NUM_FORMS in
Understanding the management form section.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es > 
						
						
					 
					
						2020-12-23 17:15:48 +01:00 
						 
				 
			
				
					
						
							
							
								Hannes Ljungberg 
							
						 
					 
					
						
						
							
						
						d23cb83c99 
					 
					
						
						
							
							Refs  #26167  -- Made DatabaseSchemaEditor._create_index_sql()'s fields argument optional and kwarg-only.  
						
						
						
						
					 
					
						2020-12-23 11:16:13 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						3bca95cca2 
					 
					
						
						
							
							Fixed   #32165  -- Added pre-commit hooks  
						
						... 
						
						
						
						* Added pre-commit hooks for isort, flake8 and eslint
* Added documentation on how to install and use the tool 
						
						
					 
					
						2020-12-23 11:14:48 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						3a0ed0ce3f 
					 
					
						
						
							
							Refs  #31265  -- Updated .eslintignore to match eslint tests  
						
						
						
						
					 
					
						2020-12-23 11:14:48 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ada83fd8b8 
					 
					
						
						
							
							Fixed isolation of test_migrate_fake_split_initial.  
						
						
						
						
					 
					
						2020-12-23 07:48:45 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						8b2a30f6f1 
					 
					
						
						
							
							Fixed   #32285  -- Raised ImproperlyConfigured when AppConfig.label is not a valid Python identifier.  
						
						
						
						
					 
					
						2020-12-22 13:26:30 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						110001d0bb 
					 
					
						
						
							
							Refs  #32285  -- Made AppConfigStub do not call super().__init__().  
						
						... 
						
						
						
						Calling super().__init__() is unnecessary and enforces the use of
various workarounds. 
						
						
					 
					
						2020-12-22 13:26:27 +01:00 
						 
				 
			
				
					
						
							
							
								starryrbs 
							
						 
					 
					
						
						
							
						
						2a76f43134 
					 
					
						
						
							
							Fixed   #32269  -- Fixed parse_duration() for negative days in ISO 8601 format.  
						
						
						
						
					 
					
						2020-12-21 10:28:07 +01:00 
						 
				 
			
				
					
						
							
							
								starryrbs 
							
						 
					 
					
						
						
							
						
						57d05f94c3 
					 
					
						
						
							
							Added more assertions for parse_duration() with negative timedeltas.  
						
						
						
						
					 
					
						2020-12-21 10:15:22 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						577f2338f1 
					 
					
						
						
							
							Fixed   #32208  -- Allowed adding lazy() objects.  
						
						... 
						
						
						
						Co-authored-by: Claude Paroz <claude@2xlibre.net > 
						
						
					 
					
						2020-12-21 09:24:41 +01:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						fe886eee36 
					 
					
						
						
							
							Corrected code-block directives in docs/ref/models/meta.txt.  
						
						
						
						
					 
					
						2020-12-21 07:56:58 +01:00 
						 
				 
			
				
					
						
							
							
								joshuapatel 
							
						 
					 
					
						
						
							
						
						1190af5071 
					 
					
						
						
							
							Fixed typo in docs/ref/files/storage.txt.  
						
						
						
						
					 
					
						2020-12-21 07:34:45 +01:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						28d998a41c 
					 
					
						
						
							
							Updated isort URL to new location.  
						
						
						
						
					 
					
						2020-12-20 11:00:28 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						9ef0394b54 
					 
					
						
						
							
							Fixed typo in tests/admin_views/test_history_view.py test name.  
						
						
						
						
					 
					
						2020-12-18 09:23:22 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						8d582bf510 
					 
					
						
						
							
							Fixed   #32262  -- Fixed migration optimization for model creation and Meta options removal.  
						
						
						
						
					 
					
						2020-12-18 06:57:57 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						bb64b99b78 
					 
					
						
						
							
							Fixed   #29867  -- Added support for storing None value in caches.  
						
						... 
						
						
						
						Many of the cache operations make use of the default argument to the
.get() operation to determine whether the key was found in the cache.
The default value of the default argument is None, so this results in
these operations assuming that None is not stored in the cache when it
actually is. Adding a sentinel object solves this issue.
Unfortunately the unmaintained python-memcached library does not support
a default argument to .get(), so the previous behavior is preserved for
the deprecated MemcachedCache backend. 
						
						
					 
					
						2020-12-17 09:57:21 +01:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						d23dad5778 
					 
					
						
						
							
							Refs  #30181  -- Corrected note about storing None in the cache.  
						
						
						
						
					 
					
						2020-12-17 09:57:21 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						8f384505ee 
					 
					
						
						
							
							Refs  #32273  -- Completed test coverage for AdminSite.unregister().  
						
						
						
						
					 
					
						2020-12-17 08:27:56 +01:00 
						 
				 
			
				
					
						
							
							
								Alexey Nigin 
							
						 
					 
					
						
						
							
						
						b9ba85a7ce 
					 
					
						
						
							
							Fixed   #32089  -- Fixed prefetch_related_objects() when some objects are already fetched.  
						
						... 
						
						
						
						Thanks Dennis Kliban for the report and Adam Johnson for the initial
patch.
Co-authored-by: Adam Johnson <me@adamj.eu > 
						
						
					 
					
						2020-12-16 10:52:59 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						bebd4cfa8f 
					 
					
						
						
							
							Fixed   #32273  -- Doc'd AdminSite.unregister().  
						
						
						
						
					 
					
						2020-12-16 08:08:49 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						0ecc70b15a 
					 
					
						
						
							
							Fixed typo in docs/ref/forms/widgets.txt.  
						
						... 
						
						
						
						Thanks rgs258 for the report. 
						
						
					 
					
						2020-12-15 21:12:26 +01:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						0ed6f3ba4b 
					 
					
						
						
							
							Corrected formatting in settings docs.  
						
						
						
						
					 
					
						2020-12-15 12:08:45 +01:00 
						 
				 
			
				
					
						
							
							
								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