Min ho Kim 
							
						 
					 
					
						
						
							
						
						6e8303d49b 
					 
					
						
						
							
							Fixed typos in FakePayload docstring and SimplifiedURLTests test name.  
						
						
						
						
					 
					
						2019-06-17 12:38:04 +02:00 
						 
				 
			
				
					
						
							
							
								Sanyam Khurana 
							
						 
					 
					
						
						
							
						
						87f5d07eed 
					 
					
						
						
							
							Fixed   #12952  -- Adjusted admin log change messages to use form labels instead of field names.  
						
						
						
						
					 
					
						2019-06-14 18:20:29 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						1564e42ad3 
					 
					
						
						
							
							Refs  #30512 ,  #15042  -- Added local-only address to sanitize_email() tests cases.  
						
						... 
						
						
						
						email.headerregistry.parser.get_mailbox() returns a token with a `token_type` attribute.
If `token_type` is `’invalid-mailbox’` then RFC violations have been detected. Emails with only the local part, and no domain,  are correctly parsed but are marked as `’invalid-mailbox’`.
As per #15042 , local-only are supported, to enable sending to addresses on localhost.
sanitize_email() does not currently check `token_type`. This test is added to avoid a regression in case this is revisited in the future. 
						
						
					 
					
						2019-06-13 17:29:58 +02:00 
						 
				 
			
				
					
						
							
							
								Joachim Jablon 
							
						 
					 
					
						
						
							
						
						2628ea9515 
					 
					
						
						
							
							Fixed   #30512  -- Used email.headerregistry.parser for parsing emails in sanitize_address().  
						
						
						
						
					 
					
						2019-06-13 16:22:15 +02:00 
						 
				 
			
				
					
						
							
							
								can 
							
						 
					 
					
						
						
							
						
						fde9b7d35e 
					 
					
						
						
							
							Fixed   #30128  -- Fixed handling timedelta timezone in database functions.  
						
						
						
						
					 
					
						2019-06-13 09:29:43 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						3dca8738cb 
					 
					
						
						
							
							Simplified GISFunctionsTests.test_point_on_surface().  
						
						
						
						
					 
					
						2019-06-12 12:59:02 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						b616f65855 
					 
					
						
						
							
							Added missing support for PointOnSurface function on MariaDB.  
						
						
						
						
					 
					
						2019-06-12 10:51:43 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						198a0adef2 
					 
					
						
						
							
							Removed obsolete comment from GISFunctionsTests.test_asgeojson().  
						
						
						
						
					 
					
						2019-06-12 09:43:03 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						2e00119e39 
					 
					
						
						
							
							Fixed GISFunctionsTests.test_asgeojson() crash on MariaDB 10.2+.  
						
						
						
						
					 
					
						2019-06-12 09:43:03 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						9e38ed0536 
					 
					
						
						
							
							Fixed   #27486  -- Fixed Python 3.7 DeprecationWarning in intword and filesizeformat filters.  
						
						... 
						
						
						
						intword and filesizeformat passed floats to ngettext() which is
deprecated in Python 3.7. The rationale for this warning is documented
in BPO-28692: https://bugs.python.org/issue28692 .
For filesizeformat, the filesize value is expected to be an int -- it
fills %d string formatting placeholders. It was likely coerced to a
float to ensure floating point division on Python 2. Python 3 always
does floating point division, so coerce to an int instead of a float to
fix the warning.
For intword, the number may contain a decimal component. In English, a
decimal component makes the noun plural. A helper function,
round_away_from_one(), was added to convert the float to an integer that
is appropriate for ngettext(). 
						
						
					 
					
						2019-06-11 20:34:59 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						53ea535f13 
					 
					
						
						
							
							Refs  #27486  -- Added tests for filesizeformat filter.  
						
						
						
						
					 
					
						2019-06-11 20:18:36 +02:00 
						 
				 
			
				
					
						
							
							
								CruxBox 
							
						 
					 
					
						
						
							
						
						34f8eeea4a 
					 
					
						
						
							
							Fixed   #30548  -- Improved exception when expression contains mixed types.  
						
						
						
						
					 
					
						2019-06-10 19:48:53 +02:00 
						 
				 
			
				
					
						
							
							
								Aymeric Augustin 
							
						 
					 
					
						
						
							
						
						3ee0834a46 
					 
					
						
						
							
							Fixed   #30556  -- Avoided useless query and hasher call in ModelBackend.authenticate() when credentials aren't provided.  
						
						... 
						
						
						
						There's no need to fetch a user instance from the database unless
a username and a password are provided as credentials. 
						
						
					 
					
						2019-06-10 11:12:31 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						e065b29387 
					 
					
						
						
							
							Refs  #27804  -- Used subTest() in filesizeformat tests and HumanizeTests.  
						
						
						
						
					 
					
						2019-06-10 08:46:11 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						dcb8f00d06 
					 
					
						
						
							
							Fixed   #29379  -- Added autocomplete attribute to contrib.auth.forms fields.  
						
						... 
						
						
						
						Thank you to Nick Pope for review.
Co-authored-by: CHI Cheng <cloudream@gmail.com > 
						
						
					 
					
						2019-06-07 12:44:39 +02:00 
						 
				 
			
				
					
						
							
							
								Alexandre Varas 
							
						 
					 
					
						
						
							
						
						c498f088c5 
					 
					
						
						
							
							Fixed   #30521  -- Fixed invalid HTML in default error pages.  
						
						
						
						
					 
					
						2019-06-07 07:51:45 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						3fb0a1a67f 
					 
					
						
						
							
							Refs  #30521  -- Added tests for content of default error pages.  
						
						
						
						
					 
					
						2019-06-07 07:49:17 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						d6ea4898c4 
					 
					
						
						
							
							Fixed   #30550  -- Fixed decoding of non-UTF-8 bytes objects in response.json().  
						
						
						
						
					 
					
						2019-06-07 06:40:15 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						498092377b 
					 
					
						
						
							
							Refs  #27804  -- Used subTest() in BinaryFieldTests.test_set_and_retrieve.  
						
						
						
						
					 
					
						2019-06-07 06:04:56 +02:00 
						 
				 
			
				
					
						
							
							
								Joachim Jablon 
							
						 
					 
					
						
						
							
						
						8ba20d9071 
					 
					
						
						
							
							Refs  #30512  -- Added tests for sanitizing email addresses with display name and two @ signs.  
						
						
						
						
					 
					
						2019-06-06 15:05:56 +02:00 
						 
				 
			
				
					
						
							
							
								Joachim Jablon 
							
						 
					 
					
						
						
							
						
						f841a776fe 
					 
					
						
						
							
							Refs  #30512  -- Used subTest() in MailTests.test_sanitize_address.  
						
						
						
						
					 
					
						2019-06-06 14:50:40 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						661e6cc2c9 
					 
					
						
						
							
							Fixed   #29706  -- Made RenameContentType._rename() save to the correct database.  
						
						
						
						
					 
					
						2019-06-06 12:09:01 +02:00 
						 
				 
			
				
					
						
							
							
								Tobias Bengfort 
							
						 
					 
					
						
						
							
						
						581a0f4545 
					 
					
						
						
							
							Refs  #30226  -- Added User.get_user_permissions() method.  
						
						... 
						
						
						
						Added to mirror the existing User.get_group_permissions(). 
						
						
					 
					
						2019-06-05 13:56:37 +02:00 
						 
				 
			
				
					
						
							
							
								Tobias Bengfort 
							
						 
					 
					
						
						
							
						
						75337a6050 
					 
					
						
						
							
							Fixed   #30226  -- Added BaseBackend for authentication.  
						
						
						
						
					 
					
						2019-06-05 13:39:46 +02:00 
						 
				 
			
				
					
						
							
							
								Étienne Beaulé 
							
						 
					 
					
						
						
							
						
						4b6dfe1622 
					 
					
						
						
							
							Fixed   #30542  -- Fixed crash of numerical aggregations with filter.  
						
						... 
						
						
						
						Filters in annotations crashed when used with numerical-type
aggregations (i.e. Avg, StdDev, and Variance). This was caused as the
source expressions no not necessarily have an output_field (such as the
filter field), which lead to an AttributeError: 'WhereNode' object has
no attribute output_field.
Thanks to Chuan-Zheng Lee for the report.
Regression in c690afb873 
						
						
					 
					
						2019-06-05 08:06:26 +02:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						b916c27f9a 
					 
					
						
						
							
							Fixed typo in tests/generic_views/test_base.py.  
						
						
						
						
					 
					
						2019-06-04 20:09:07 -04:00 
						 
				 
			
				
					
						
							
							
								Jones Ambrosi 
							
						 
					 
					
						
						
							
						
						f9561144d7 
					 
					
						
						
							
							Fixed   #30520  -- Fixed crash of admin model inlines on custom fields without labels.  
						
						
						
						
					 
					
						2019-06-04 10:27:12 +02:00 
						 
				 
			
				
					
						
							
							
								RobertAKARobin 
							
						 
					 
					
						
						
							
						
						aa94f7c899 
					 
					
						
						
							
							Fixed   #30534  -- Fixed overriding a field's default in ModelForm.cleaned_data().  
						
						
						
						
					 
					
						2019-06-04 08:28:49 +02:00 
						 
				 
			
				
					
						
							
							
								Nathan Gaberel 
							
						 
					 
					
						
						
							
						
						b27c9c953b 
					 
					
						
						
							
							Fixed   #28604  -- Prevented ManifestStaticFilesStorage from leaving intermediate files.  
						
						
						
						
					 
					
						2019-06-03 13:11:55 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						deeba6d920 
					 
					
						
						
							
							Fixed CVE-2019-12308 -- Made AdminURLFieldWidget validate URL before rendering clickable link.  
						
						
						
						
					 
					
						2019-06-03 11:36:12 +02:00 
						 
				 
			
				
					
						
							
							
								can 
							
						 
					 
					
						
						
							
						
						dffa3e1992 
					 
					
						
						
							
							Fixed   #30493  -- Fixed prefetch_related() for GenericRelation with different content types.  
						
						... 
						
						
						
						Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com >
Thanks Simon Charette for the review. 
						
						
					 
					
						2019-05-31 18:11:55 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						ea6e684f34 
					 
					
						
						
							
							Simplified m2m_recursive.tests.  
						
						
						
						
					 
					
						2019-05-31 16:19:11 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						f6075fb333 
					 
					
						
						
							
							Fixed   #26192  -- Fixed crash of ordering by constants on PostgreSQL.  
						
						... 
						
						
						
						Thanks Simon Charette for the review. 
						
						
					 
					
						2019-05-31 07:38:48 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						cc80979f01 
					 
					
						
						
							
							Refs  #26192  -- Added tests for ordering by constant value.  
						
						
						
						
					 
					
						2019-05-31 07:38:48 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						e2de49ec2e 
					 
					
						
						
							
							Fixed   #28520  -- Added --start-at/--start-after options to runtests.py.  
						
						
						
						
					 
					
						2019-05-31 07:01:12 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						ef7e0ae53b 
					 
					
						
						
							
							Refs  #28520  -- Added _module_match_label() hook to runtests.py.  
						
						
						
						
					 
					
						2019-05-30 09:29:09 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						480492fe70 
					 
					
						
						
							
							Fixed   #30523  -- Fixed updating file modification times on seen files in auto-reloader when using StatReloader.  
						
						... 
						
						
						
						Previously we updated the file mtimes if the file has not been seen
before - i.e on the first iteration of the loop.
If the mtime has been changed we triggered the notify_file_changed()
method which in all cases except the translations will result in the
process being terminated. To be strictly correct we need to update the
mtime for either branch of the conditional.
Regression in 6754bffa2b 
						
						
					 
					
						2019-05-29 09:41:24 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						0344565179 
					 
					
						
						
							
							Fixed   #30516  -- Fixed crash of autoreloader when re-raising exceptions with custom signature.  
						
						... 
						
						
						
						Regression in c8720e7696 
						
						
					 
					
						2019-05-29 08:08:50 +02:00 
						 
				 
			
				
					
						
							
							
								Caio Ariede 
							
						 
					 
					
						
						
							
						
						a3f91891d2 
					 
					
						
						
							
							Fixed   #30315  -- Fixed crash of ArrayAgg and StringAgg with ordering when used in Subquery.  
						
						
						
						
					 
					
						2019-05-28 10:05:50 +02:00 
						 
				 
			
				
					
						
							
							
								Tom Forbes 
							
						 
					 
					
						
						
							
						
						b2790f74d4 
					 
					
						
						
							
							Fixed   #30479  -- Fixed detecting changes in manage.py by autoreloader when using StatReloader.  
						
						... 
						
						
						
						Regression in c8720e7696 
						
						
					 
					
						2019-05-28 08:31:33 +02:00 
						 
				 
			
				
					
						
							
							
								Ivor Bosloper 
							
						 
					 
					
						
						
							
						
						5ec44973dc 
					 
					
						
						
							
							Fixed typo in RasterField test name.  
						
						
						
						
					 
					
						2019-05-27 13:40:03 +02:00 
						 
				 
			
				
					
						
							
							
								Mattia Procopio 
							
						 
					 
					
						
						
							
						
						aff61790a3 
					 
					
						
						
							
							Refs  #24944  -- Added test for overriding domain in email context in PasswordResetView.  
						
						
						
						
					 
					
						2019-05-27 11:50:30 +02:00 
						 
				 
			
				
					
						
							
							
								Johan Lübcke 
							
						 
					 
					
						
						
							
						
						0670b1b403 
					 
					
						
						
							
							Fixed   #30485  -- Adjusted django.utils.http.urlencode for doseq=False case.  
						
						
						
						
					 
					
						2019-05-24 17:15:34 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						85195dd237 
					 
					
						
						
							
							Refs  #9982  -- Added test for saving OneToOneField field after saving related object.  
						
						... 
						
						
						
						Fixed in 519016e5f2 
						
						
					 
					
						2019-05-24 10:54:05 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						45edd746cc 
					 
					
						
						
							
							Used re.Pattern.findall() instead of re.findall() in inspectdb.tests.  
						
						
						
						
					 
					
						2019-05-24 09:04:27 +02:00 
						 
				 
			
				
					
						
							
							
								Rob 
							
						 
					 
					
						
						
							
						
						58df8aa40f 
					 
					
						
						
							
							Fixed   #28780  -- Allowed specyfing a token parameter displayed in password reset URLs.  
						
						... 
						
						
						
						Co-authored-by: Tim Givois <tim.givois.mendez@gmail.com > 
						
						
					 
					
						2019-05-24 08:40:25 +02:00 
						 
				 
			
				
					
						
							
							
								Caio Ariede 
							
						 
					 
					
						
						
							
						
						753b67c58d 
					 
					
						
						
							
							Fixed   #30497  -- Ignored document type in assertXMLEqual()/assertXMLNotEqual().  
						
						
						
						
					 
					
						2019-05-24 07:29:42 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						f8b8b00f01 
					 
					
						
						
							
							Fixed   #30501  -- Preventing QuerySet.reverse() from mutating expressions in QuerySet.order_by and Meta.ordering.  
						
						
						
						
					 
					
						2019-05-23 20:33:37 +02:00 
						 
				 
			
				
					
						
							
							
								Ran Benita 
							
						 
					 
					
						
						
							
						
						a2c31e12da 
					 
					
						
						
							
							Fixed   #30498  -- Fixed proxy class caching in lazy().  
						
						... 
						
						
						
						lazy() should prepare the proxy class only once (the first time it's
used) not on every call.
Regression in b4e76f30d1 
						
						
					 
					
						2019-05-22 20:41:52 +02:00 
						 
				 
			
				
					
						
							
							
								Hasan Ramezani 
							
						 
					 
					
						
						
							
						
						1378d665a1 
					 
					
						
						
							
							Fixed   #28816  -- Prevented silencing data loss when decreasing CharField.max_length on PostgreSQL.  
						
						
						
						
					 
					
						2019-05-21 14:15:43 +02:00