django-bot 
							
						 
					 
					
						
						
							
						
						69a93a88ed 
					 
					
						
						
							
							Refs  #36500  -- Rewrapped long docstrings and block comments via a script.  
						
						... 
						
						
						
						Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505 . 
						
						
					 
					
						2025-07-23 20:17:55 -03:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						c042fe3a74 
					 
					
						
						
							
							Refs  #33735  -- Adjusted warning stacklevel in StreamingHttpResponse.__iter__()/__aiter__().  
						
						
						
						
					 
					
						2024-08-28 11:44:05 -03:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						bcd255cd5c 
					 
					
						
						
							
							Fixed   #35354  -- Simplified ASGIRequest path handling.  
						
						... 
						
						
						
						Following the ASGI HTTP Connection Scope docs[0], the provided `path`
is already the correct value that Django requires.
In combination with `root_path`, from which `script_name` is derived,
the `path_info` variable is set. It's then redundant to
re-calculate `path` from `script_name` and `path_info`.
See also, a clarifying discussion on the ASGIref repo[1].
[0]: https://asgi.readthedocs.io/en/latest/specs/www.html#http-connection-scope 
[1]: https://github.com/django/asgiref/issues/424  
						
						
					 
					
						2024-04-05 11:35:38 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						4d2ef9bb82 
					 
					
						
						
							
							Refs  #35169  -- Added test for ASGIRequest root_path handling.  
						
						
						
						
					 
					
						2024-04-05 11:30:33 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						305757aec1 
					 
					
						
						
							
							Applied Black's 2024 stable style.  
						
						... 
						
						
						
						https://github.com/psf/black/releases/tag/24.1.0  
					
						2024-01-26 12:45:07 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						d88ec42bd0 
					 
					
						
						
							
							Used addCleanup() in tests where appropriate.  
						
						
						
						
					 
					
						2023-12-31 10:01:31 +01:00 
						 
				 
			
				
					
						
							
							
								sarahboyce 
							
						 
					 
					
						
						
							
						
						041b0a359a 
					 
					
						
						
							
							Fixed   #34394  -- Added FORCE_SCRIPT_NAME handling to ASGIRequest.  
						
						... 
						
						
						
						Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2023-04-12 12:50:48 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Spaeth 
							
						 
					 
					
						
						
							
						
						52b054824e 
					 
					
						
						
							
							Fixed   #34342 , Refs  #33735  -- Fixed test client handling of async streaming responses.  
						
						... 
						
						
						
						Bug in 0bd2c0c901carlton.gibson@noumenal.es > 
						
						
					 
					
						2023-02-17 10:48:04 +01:00 
						 
				 
			
				
					
						
							
							
								Alexandre Spaeth 
							
						 
					 
					
						
						
							
						
						bfb8fda3e6 
					 
					
						
						
							
							Refs  #34342  -- Added tests for handling sync streaming responses by test client.  
						
						... 
						
						
						
						Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es > 
						
						
					 
					
						2023-02-17 10:48:00 +01:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						097e3a70c1 
					 
					
						
						
							
							Refs  #33476  -- Applied Black's 2023 stable style.  
						
						... 
						
						
						
						Black 23.1.0 is released which, as the first release of the year,
introduces the 2023 stable style. This incorporates most of last year's
preview style.
https://github.com/psf/black/releases/tag/23.1.0  
						
						
					 
					
						2023-02-01 11:04:38 +01:00 
						 
				 
			
				
					
						
							
							
								Pablo 
							
						 
					 
					
						
						
							
						
						48531f53ae 
					 
					
						
						
							
							Improved test coverage for django.db.transaction.  
						
						
						
						
					 
					
						2022-12-05 10:46:33 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						7119f40c98 
					 
					
						
						
							
							Refs  #33476  -- Refactored code to strictly match 88 characters line length.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								django-bot 
							
						 
					 
					
						
						
							
						
						9c19aff7c7 
					 
					
						
						
							
							Refs  #33476  -- Reformatted code with Black.  
						
						
						
						
					 
					
						2022-02-07 20:37:05 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ec0ff40631 
					 
					
						
						
							
							Fixed   #32355  -- Dropped support for Python 3.6 and 3.7  
						
						
						
						
					 
					
						2021-02-10 10:20:54 +01:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						2808cdc8fb 
					 
					
						
						
							
							Fixed   #31962  -- Made SessionMiddleware raise SessionInterrupted when session destroyed while request is processing.  
						
						
						
						
					 
					
						2020-09-09 09:04:28 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						505fec6bad 
					 
					
						
						
							
							Capitalized Unicode in docs, strings, and comments.  
						
						
						
						
					 
					
						2020-04-20 12:10:33 +02:00 
						 
				 
			
				
					
						
							
							
								Mark 
							
						 
					 
					
						
						
							
						
						590957a0eb 
					 
					
						
						
							
							Fixed   #31407  -- Adjusted test to avoid coroutine never awaited warning.  
						
						
						
						
					 
					
						2020-04-07 20:32:54 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Godwin 
							
						 
					 
					
						
						
							
						
						fc0fa72ff4 
					 
					
						
						
							
							Fixed   #31224  -- Added support for asynchronous views and middleware.  
						
						... 
						
						
						
						This implements support for asynchronous views, asynchronous tests,
asynchronous middleware, and an asynchronous test client. 
						
						
					 
					
						2020-03-18 19:59:12 +01:00 
						 
				 
			
				
					
						
							
							
								Tom Hacohen 
							
						 
					 
					
						
						
							
						
						1ecc0a395b 
					 
					
						
						
							
							Fixed   #30070 , CVE-2019-3498 -- Fixed content spoofing possiblity in the default 404 page.  
						
						... 
						
						
						
						Co-Authored-By: Tim Graham <timograham@gmail.com > 
						
						
					 
					
						2019-01-03 21:21:55 -05:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						0f212db29d 
					 
					
						
						
							
							Made reused RequestFactory instances class attributes.  
						
						
						
						
					 
					
						2018-11-27 09:49:02 -05:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						11a9017179 
					 
					
						
						
							
							Fixed   #29966  -- Added tests for BaseHandler's "The view didn't return an HttpResponse object" error.  
						
						
						
						
					 
					
						2018-11-23 19:19:02 -05:00 
						 
				 
			
				
					
						
							
							
								Daniel Hepper 
							
						 
					 
					
						
						
							
						
						4e016d1372 
					 
					
						
						
							
							Removed obsolete BaseHandler attributes.  
						
						... 
						
						
						
						Unused since d334f46b7a 
						
						
					 
					
						2018-05-27 11:21:27 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						cfff2af02b 
					 
					
						
						
							
							Fixed   #27857  -- Dropped support for Python 3.4.  
						
						
						
						
					 
					
						2017-09-25 17:11:03 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						6b4f018b2b 
					 
					
						
						
							
							Replaced type-specific assertions with assertEqual().  
						
						... 
						
						
						
						Python docs say, "it's usually not necessary to invoke these methods directly." 
						
						
					 
					
						2017-03-17 07:51:48 -04:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						3f62d20a9b 
					 
					
						
						
							
							Fixed running TransactionsPerRequestTests in isolation.  
						
						... 
						
						
						
						Caused by `contrib/auth/backends.py` changes in
cb7bbf97a7 
						
						
					 
					
						2017-02-04 14:19:52 -05:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						dc8834cad4 
					 
					
						
						
							
							Refs  #23919  -- Removed unneeded force_str calls  
						
						
						
						
					 
					
						2017-01-20 08:44:31 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						7b2f2e74ad 
					 
					
						
						
							
							Refs  #23919  -- Removed six.<various>_types usage  
						
						... 
						
						
						
						Thanks Tim Graham and Simon Charette for the reviews. 
						
						
					 
					
						2017-01-18 20:18:46 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						c716fe8782 
					 
					
						
						
							
							Refs  #23919  -- Removed six.PY2/PY3 usage  
						
						... 
						
						
						
						Thanks Tim Graham for the review. 
						
						
					 
					
						2017-01-18 16:21:28 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						d7b9aaa366 
					 
					
						
						
							
							Refs  #23919  -- Removed encoding preambles and future imports  
						
						
						
						
					 
					
						2017-01-18 09:55:19 +01:00 
						 
				 
			
				
					
						
							
							
								za 
							
						 
					 
					
						
						
							
						
						321e94fa41 
					 
					
						
						
							
							Refs  #27392  -- Removed "Tests that", "Ensures that", etc. from test docstrings.  
						
						
						
						
					 
					
						2016-11-10 21:30:21 -05:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						48c34f3336 
					 
					
						
						
							
							Fixed   #26971  -- Prevented crash with non-UTF-8 incoming PATH_INFO  
						
						... 
						
						
						
						Thanks Tim Graham and Loïc Bistuer for the reviews. 
						
						
					 
					
						2016-08-23 22:40:07 +02:00 
						 
				 
			
				
					
						
							
							
								Florian Apolloner 
							
						 
					 
					
						
						
							
						
						9baf692a58 
					 
					
						
						
							
							Fixed   #26601  -- Improved middleware per DEP 0005.  
						
						... 
						
						
						
						Thanks Tim Graham for polishing the patch, updating the tests, and
writing documentation. Thanks Carl Meyer for shepherding the DEP. 
						
						
					 
					
						2016-05-17 07:22:22 -04:00 
						 
				 
			
				
					
						
							
							
								David Evans 
							
						 
					 
					
						
						
							
						
						2fcafd169b 
					 
					
						
						
							
							Fixed   #26546  -- Allowed HTTPStatus enum values for HttpResponse.status.  
						
						
						
						
					 
					
						2016-04-29 10:55:01 -04:00 
						 
				 
			
				
					
						
							
							
								David Evans 
							
						 
					 
					
						
						
							
						
						99bb7fcc18 
					 
					
						
						
							
							Fixed   #26452  -- Loaded middleware on server start rather than on first request.  
						
						
						
						
					 
					
						2016-04-04 10:12:41 -04:00 
						 
				 
			
				
					
						
							
							
								Alex Morozov 
							
						 
					 
					
						
						
							
						
						13dba4dba3 
					 
					
						
						
							
							Fixed   #25780  -- Removed redundant status code assertions from tests  
						
						
						
						
					 
					
						2015-11-21 18:12:33 +01:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						10ace52a41 
					 
					
						
						
							
							Fixed   #17133  -- Properly handled successive slashes in incoming requests  
						
						... 
						
						
						
						Thanks gjanee@ucop.edu  for the report and Tim Graham for the review. 
						
						
					 
					
						2015-10-23 22:18:18 +02:00 
						 
				 
			
				
					
						
							
							
								Simon Charette 
							
						 
					 
					
						
						
							
						
						be67400b47 
					 
					
						
						
							
							Refs  #24652  -- Used SimpleTestCase where appropriate.  
						
						
						
						
					 
					
						2015-05-20 13:46:13 -04:00 
						 
				 
			
				
					
						
							
							
								Bas Peschier 
							
						 
					 
					
						
						
							
						
						336512fae7 
					 
					
						
						
							
							Fixed   #23173  -- Fixed incorrect stripping of SCRIPT_URL  
						
						
						
						
					 
					
						2015-03-08 15:48:27 +01:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						0ed7d15563 
					 
					
						
						
							
							Sorted imports with isort; refs  #23860 .  
						
						
						
						
					 
					
						2015-02-06 08:16:28 -05:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						b38637d581 
					 
					
						
						
							
							Fixed   #23887  -- Returned Bad Request for multipart parsing fails  
						
						... 
						
						
						
						Thanks Antti Häyrynen and Tim Graham for the report, and Aymeric
Augustin for the review. 
						
						
					 
					
						2014-11-22 14:23:37 +01:00 
						 
				 
			
				
					
						
							
							
								Anubhav Joshi 
							
						 
					 
					
						
						
							
						
						10b17a22be 
					 
					
						
						
							
							Fixed   #19508  -- Implemented uri_to_iri as per RFC.  
						
						... 
						
						
						
						Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz
for the review. 
						
						
					 
					
						2014-10-16 02:31:17 +07:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						7131efa154 
					 
					
						
						
							
							Adapted invalid cookie test to all Python versions  
						
						... 
						
						
						
						Refs #23638 . Older Python versions are less strict when parsing
invalid cookie content. The test just has to ensure Django doesn't
crash. 
						
						
					 
					
						2014-10-14 09:30:26 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						59d487e7fc 
					 
					
						
						
							
							Fixed   #23638  -- Prevented crash while parsing invalid cookie content  
						
						... 
						
						
						
						Thanks Philip Gatt for the report and Tim Graham for the review. 
						
						
					 
					
						2014-10-13 17:37:58 +02:00 
						 
				 
			
				
					
						
							
							
								Joshua "jag" Ginsberg 
							
						 
					 
					
						
						
							
						
						eb2af16c59 
					 
					
						
						
							
							Fixed   #21483  -- Added WSGI environ to kwargs sent to request_started signal.  
						
						
						
						
					 
					
						2014-08-29 10:12:03 -04:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						6f59d29158 
					 
					
						
						
							
							Fixed flake8 warnings.  
						
						
						
						
					 
					
						2014-08-20 14:37:33 -04:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						fa02120d36 
					 
					
						
						
							
							Fixed   #22996  -- Prevented crash with unencoded query string  
						
						... 
						
						
						
						Thanks Jorge Carleitao for the report and Aymeric Augustin, Tim Graham
for the reviews. 
						
						
					 
					
						2014-08-19 22:29:31 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						e520a73eee 
					 
					
						
						
							
							Harmonized some PEP 0263 coding preambles  
						
						
						
						
					 
					
						2014-05-15 19:58:41 +02:00 
						 
				 
			
				
					
						
							
							
								Anubhav Joshi 
							
						 
					 
					
						
						
							
						
						cd914e31c9 
					 
					
						
						
							
							Fixed   #21977  -- Deprecated SimpleTestCase.urls  
						
						
						
						
					 
					
						2014-04-06 17:33:43 -04:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						e32095616c 
					 
					
						
						
							
							Imported override_settings from its new location.  
						
						
						
						
					 
					
						2013-12-23 21:37:56 +01:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						65b6eff322 
					 
					
						
						
							
							Fixed   #20530  -- Properly decoded non-ASCII query strings on Python 3.  
						
						... 
						
						
						
						Thanks mitsuhiko for the report.
This commit just adds a test since the problem was fixed in 8aaca651 
						
						
					 
					
						2013-09-07 11:47:38 -05:00