antoliny0919 
							
						 
					 
					
						
						
							
						
						4187da258f 
					 
					
						
						
							
							Fixed   #35892  -- Supported Widget.use_fieldset in admin forms.  
						
						
						
						
					 
					
						2025-08-19 16:35:56 +02:00 
						 
				 
			
				
					
						
							
							
								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 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						6aa05fd232 
					 
					
						
						
							
							Triggered window resize to fix layout issues.  
						
						
						
						
					 
					
						2025-07-18 17:29:12 +02:00 
						 
				 
			
				
					
						
							
							
								Blayze 
							
						 
					 
					
						
						
							
						
						90429625a8 
					 
					
						
						
							
							Fixed   #36423  -- Prevented filter_horizontal buttons from intercepting form submission.  
						
						... 
						
						
						
						In the admin's filter_horizontal widget, optional action buttons like
"Choose all", "Remove all", etc. were changed from `<a>` to `<button>`
elements in #34619 , but without specifying `type="button"`. As a result,
when pressing Enter while focused on a form input, these buttons could
be triggered and intercept form submission.
Explicitly set `type="button"` on these control buttons to prevent them
from acting as submit buttons.
Thanks Antoliny Lee for the quick triage and review.
Regression in 857b1048d5 
						
						
					 
					
						2025-06-02 22:25:14 -03:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						883ce03e43 
					 
					
						
						
							
							Refs  #34488  -- Made test files path resolution independent of current working directory in ClearableFileInput selenium tests.  
						
						
						
						
					 
					
						2025-05-15 13:02:00 -03:00 
						 
				 
			
				
					
						
							
							
								Tim Graham 
							
						 
					 
					
						
						
							
						
						f5197be818 
					 
					
						
						
							
							Removed hardcoded pks in admin selenium tests.  
						
						
						
						
					 
					
						2025-05-09 13:17:58 +02:00 
						 
				 
			
				
					
						
							
							
								Mike Edmunds 
							
						 
					 
					
						
						
							
						
						29ba75e6e5 
					 
					
						
						
							
							Fixed   #36013  -- Removed use of IDNA-2003 in django.utils.html.  
						
						... 
						
						
						
						Removed obsolete and potentially problematic IDNA 2003 ("punycode")
encoding of international domain names in smart_urlquote() and Urlizer,
which are used (only) by AdminURLFieldWidget and the urlize/urlizetrunc
template filters. Changed to use percent-encoded UTF-8, which defers
IDNA details to the browser (like other URLs rendered by Django). 
						
						
					 
					
						2025-01-23 10:38:15 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						9a3f86e960 
					 
					
						
						
							
							Refs  #34380  -- Changed the URLField default scheme to https and removed FORMS_URLFIELD_ASSUME_HTTPS per deprecation timeline.  
						
						
						
						
					 
					
						2025-01-15 22:28:37 +01:00 
						 
				 
			
				
					
						
							
							
								Brock 
							
						 
					 
					
						
						
							
						
						8c118c0e00 
					 
					
						
						
							
							Fixed   #35940  -- Disabled SelectFilter add/remove buttons when appropriate.  
						
						
						
						
					 
					
						2025-01-09 08:18:29 +01:00 
						 
				 
			
				
					
						
							
							
								Tainara Palmeira 
							
						 
					 
					
						
						
							
						
						86661f2449 
					 
					
						
						
							
							Fixed   #35791  -- Updated icon button dimensions to 24x24 pixels.  
						
						... 
						
						
						
						This is to meet the WCAG 2.5.8 minimum size requirement.
Co-authored-by: Eva Nanyonga <evewish@gmail.com > 
						
						
					 
					
						2024-11-29 08:31:06 +01:00 
						 
				 
			
				
					
						
							
							
								GappleBee 
							
						 
					 
					
						
						
							
						
						857b1048d5 
					 
					
						
						
							
							Fixed   #34619  -- Associated FilteredSelectMultiple elements to their label and help text.  
						
						
						
						
					 
					
						2024-11-20 13:23:18 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						5f1757142f 
					 
					
						
						
							
							Fixed CVE-2024-41991 -- Prevented potential ReDoS in django.utils.html.urlize() and AdminURLFieldWidget.  
						
						... 
						
						
						
						Thanks Seokchan Yoon for the report.
Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com > 
						
						
					 
					
						2024-08-06 08:50:08 +02:00 
						 
				 
			
				
					
						
							
							
								Vaarun Sinha 
							
						 
					 
					
						
						
							
						
						54e8b4e582 
					 
					
						
						
							
							Fixed   #35489  -- Fixed vertical alignment of raw_id_fields widget.  
						
						... 
						
						
						
						Co-authored-by: Sarah Boyce <42296566+sarahboyce@users.noreply.github.com > 
						
						
					 
					
						2024-08-02 08:56:54 +02:00 
						 
				 
			
				
					
						
							
							
								Devin Cox 
							
						 
					 
					
						
						
							
						
						719a42b589 
					 
					
						
						
							
							Fixed   #34789  -- Prevented updateRelatedSelectsOptions from  
						
						... 
						
						
						
						adding entries to filter_horizontal chosen box.
Co-authored-by: yokeshwaran1 <yokesh440@yahoo.com > 
						
						
					 
					
						2024-06-12 13:09:04 +02:00 
						 
				 
			
				
					
						
							
							
								devin13cox 
							
						 
					 
					
						
						
							
						
						8665cf03d7 
					 
					
						
						
							
							Fixed   #35330  -- Fixed the update of related widgets when the referenced model is camel case named.  
						
						... 
						
						
						
						Co-authored-by: Natalia <124304+nessita@users.noreply.github.com > 
						
						
					 
					
						2024-04-02 22:00:25 -03:00 
						 
				 
			
				
					
						
							
							
								Johannes Maron 
							
						 
					 
					
						
						
							
						
						e69019555d 
					 
					
						
						
							
							Fixed   #35273  -- Fixed rendering AdminFileWidget's attributes.  
						
						... 
						
						
						
						Regression in 8a6c0203c4 
						
						
					 
					
						2024-03-14 14:03:09 +01:00 
						 
				 
			
				
					
						
							
							
								Alexander Lazarević 
							
						 
					 
					
						
						
							
						
						9b02ad91ea 
					 
					
						
						
							
							Fixed   #28404  -- Made displaying values in admin respect Field's empty_values.  
						
						
						
						
					 
					
						2024-01-10 08:34:25 +01:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						af2fd36815 
					 
					
						
						
							
							Refs  #34995  -- Made Selenium tests more robust for admin_views and admin_widgets suites.  
						
						... 
						
						
						
						Depending on screen sizes, the selenium tests that would "click" or interact
with an element outside the scope of the visible window would produce test
failures (raising ElementNotInteractableException in CI runs).
This branch switches those to using ActionChains, which ensures that the click
(or other interaction) is performed only after successfully completing the
move to the relevant element.
Co-authored-by: Tom Carrick <tom@carrick.eu > 
						
						
					 
					
						2023-11-30 10:39:10 -03:00 
						 
				 
			
				
					
						
							
							
								Sarah Boyce 
							
						 
					 
					
						
						
							
						
						f6629ee2c9 
					 
					
						
						
							
							Refs  #34043  -- Added context managers to SeleniumTestCase for changing window size.  
						
						
						
						
					 
					
						2023-10-16 10:36:26 +02:00 
						 
				 
			
				
					
						
							
							
								David Smith 
							
						 
					 
					
						
						
							
						
						0cfcab4eec 
					 
					
						
						
							
							Fixed date_time_picker_shortcuts() tests on Windows.  
						
						... 
						
						
						
						Windows does not allow overriding TIME_ZONE as time.tzset() is only
available on Unix. 
						
						
					 
					
						2023-06-14 08:01:14 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						caf80cb41f 
					 
					
						
						
							
							Fixed   #34645  -- Restored alignment for admin date/time timezone warnings.  
						
						... 
						
						
						
						Regression in 96a598356a 
						
						
					 
					
						2023-06-09 21:37:23 +02:00 
						 
				 
			
				
					
						
							
							
								Coen van der Kamp 
							
						 
					 
					
						
						
							
						
						7bbbadc693 
					 
					
						
						
							
							Fixed   #34380  -- Allowed specifying a default URL scheme in forms.URLField.  
						
						... 
						
						
						
						This also deprecates "http" as the default scheme. 
						
						
					 
					
						2023-04-28 06:58:10 +02:00 
						 
				 
			
				
					
						
							
							
								Marcelo Galigniana 
							
						 
					 
					
						
						
							
						
						8a6c0203c4 
					 
					
						
						
							
							Fixed   #34488  -- Made ClearableFileInput preserve "Clear" checked attribute when form is invalid.  
						
						
						
						
					 
					
						2023-04-21 07:48:27 +02: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 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						3bbe22dafc 
					 
					
						
						
							
							Fixed   #34233  -- Dropped support for Python 3.8 and 3.9.  
						
						
						
						
					 
					
						2023-01-18 09:46:01 +01:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						d559cb02da 
					 
					
						
						
							
							Refs  #19215  -- Fixed admin_widgets tests if Pillow isn't installed.  
						
						... 
						
						
						
						Follow up to c0fc1b5302 
						
						
					 
					
						2022-10-27 08:41:03 +02:00 
						 
				 
			
				
					
						
							
							
								Marcelo Galigniana 
							
						 
					 
					
						
						
							
						
						c0fc1b5302 
					 
					
						
						
							
							Fixed   #19215  -- Fixed rendering ClearableFileInput when editing with invalid files.  
						
						... 
						
						
						
						Thanks Michael Cardillo for the initial patch. 
						
						
					 
					
						2022-10-25 16:53:52 +02:00 
						 
				 
			
				
					
						
							
							
								Marcelo Galigniana 
							
						 
					 
					
						
						
							
						
						1d6948096f 
					 
					
						
						
							
							Fixed flaky test_ForeignKey_using_to_field test.  
						
						
						
						
					 
					
						2022-10-24 11:54:00 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						0638b4e23d 
					 
					
						
						
							
							Fixed   #33888  -- Fixed get_select2_language() crash with no language activated.  
						
						... 
						
						
						
						Regression in 3079133c73 
						
						
					 
					
						2022-08-03 19:51:25 +02:00 
						 
				 
			
				
					
						
							
							
								Ankur 
							
						 
					 
					
						
						
							
						
						eb7b8f3699 
					 
					
						
						
							
							Fixed   #33805  -- Made admin's many-to-many widgets do not display help text for selecting values when allow_multiple_selected is False.  
						
						
						
						
					 
					
						2022-06-28 06:04:42 +02:00 
						 
				 
			
				
					
						
							
							
								Hrushikesh Vaidya 
							
						 
					 
					
						
						
							
						
						119f227aa6 
					 
					
						
						
							
							Fixed   #33524  -- Allowed overriding empty_label for ForeignKey in ModelAdmin.radio_fields.  
						
						
						
						
					 
					
						2022-02-28 13:28:21 +01:00 
						 
				 
			
				
					
						
							
							
								Shubh1815 
							
						 
					 
					
						
						
							
						
						11cc227344 
					 
					
						
						
							
							Fixed   #33267  -- Added link to related item to related widget wrapper in admin.  
						
						
						
						
					 
					
						2022-02-25 06:33:05 +01:00 
						 
				 
			
				
					
						
							
							
								My-Name-Is-Nabil 
							
						 
					 
					
						
						
							
						
						3079133c73 
					 
					
						
						
							
							Fixed   #33514  -- Added fallbacks to subsequent language codes in Select2 translations.  
						
						
						
						
					 
					
						2022-02-18 08:34:49 +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 
						 
				 
			
				
					
						
							
							
								Shubh1815 
							
						 
					 
					
						
						
							
						
						05e29da421 
					 
					
						
						
							
							Fixed   #32545  -- Improved admin widget for raw_id_fields for UUIDFields.  
						
						... 
						
						
						
						Co-Authored-By: Jerome Leclanche <jerome@leclan.ch > 
						
						
					 
					
						2021-11-29 07:16:26 +01:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						2ccc0b22db 
					 
					
						
						
							
							Fixed   #33211  -- Updated tests for Selenium 4.0.0.  
						
						... 
						
						
						
						Replaced deprecated `find_element[s]_by_*()` usages, in favour of
`find_element[s]()` with an explicit `By`. 
						
						
					 
					
						2021-10-21 14:37:16 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						8fa974fcdd 
					 
					
						
						
							
							Refs  #33211  -- Added assertCountSeleniumElements() test helper.  
						
						
						
						
					 
					
						2021-10-21 14:37:16 +02:00 
						 
				 
			
				
					
						
							
							
								Cleiton Lima 
							
						 
					 
					
						
						
							
						
						8eb5693091 
					 
					
						
						
							
							Fixed   #33070  -- Fixed loading translations with language subtags in admin's Select2 widget.  
						
						
						
						
					 
					
						2021-09-21 07:18:37 +02:00 
						 
				 
			
				
					
						
							
							
								Carlton Gibson 
							
						 
					 
					
						
						
							
						
						306607d5b9 
					 
					
						
						
							
							Fixed   #32365  -- Made zoneinfo the default timezone implementation.  
						
						... 
						
						
						
						Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick
Pope, and Paul Ganssle for reviews. 
						
						
					 
					
						2021-09-16 12:11:05 +02:00 
						 
				 
			
				
					
						
							
							
								Claude Paroz 
							
						 
					 
					
						
						
							
						
						676bd084f2 
					 
					
						
						
							
							Fixed   #32873  -- Deprecated settings.USE_L10N.  
						
						... 
						
						
						
						Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com > 
						
						
					 
					
						2021-09-14 12:05:43 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						2161db0792 
					 
					
						
						
							
							Fixed capitalization of "ECMAScript" and "JavaScript".  
						
						
						
						
					 
					
						2021-04-29 20:29:08 +02:00 
						 
				 
			
				
					
						
							
							
								Johannes Maron 
							
						 
					 
					
						
						
							
						
						03d0f12c82 
					 
					
						
						
							
							Fixed   #32466  -- Corrected autocomplete to_field resolution for complex cases.  
						
						... 
						
						
						
						In MTI or ForeignKey as primary key cases, it is required to fetch the attname
from the field instance on the remote model in order to reliably resolve the
to_field_name.
Co-authored-by: Johannes Maron <info@johanneshoppe.com >
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com >
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es > 
						
						
					 
					
						2021-03-18 11:21:23 +01:00 
						 
				 
			
				
					
						
							
							
								Johannes Maron 
							
						 
					 
					
						
						
							
						
						3071660acf 
					 
					
						
						
							
							Fixed   #29010 ,  Fixed   #29138  -- Added limit_choices_to and to_field support to autocomplete fields.  
						
						... 
						
						
						
						* Fixed  #29010  -- Added limit_choices_to support to autocomplete fields.
* Fixed  #29138  -- Allowed autocomplete fields to target a custom
  to_field rather than the PK. 
						
						
					 
					
						2021-01-12 11:37:38 +01:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						2dd4d110c1 
					 
					
						
						
							
							Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignKeyRawIdWidget.  
						
						
						
						
					 
					
						2020-06-03 09:23:00 +02:00 
						 
				 
			
				
					
						
							
							
								Carles Pina 
							
						 
					 
					
						
						
							
						
						e46c2326c8 
					 
					
						
						
							
							Fixed   #31536  -- Fixed rendering of disabled AdminFileWidget and ClearableFileInput.  
						
						
						
						
					 
					
						2020-06-01 12:25:25 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						18eb852874 
					 
					
						
						
							
							Fixed   #31576  -- Fixed selenium tests with headless mode.  
						
						... 
						
						
						
						Horizontal scrollbar doesn't appear with the headless mode on small
windows, that's why window.scrollTo() is not an option for these
tests.
Tests changed after adding a navigation sidebar in
46fe506445 
						
						
					 
					
						2020-05-13 15:07:21 +02:00 
						 
				 
			
				
					
						
							
							
								Jon Dufresne 
							
						 
					 
					
						
						
							
						
						d6aff369ad 
					 
					
						
						
							
							Refs  #30116  -- Simplified regex match group access with Match.__getitem__().  
						
						... 
						
						
						
						The method has been available since Python 3.6. The shorter syntax is
also marginally faster. 
						
						
					 
					
						2020-05-11 12:01:28 +02:00 
						 
				 
			
				
					
						
							
							
								Mariusz Felisiak 
							
						 
					 
					
						
						
							
						
						fb52176a6f 
					 
					
						
						
							
							Made DateTimePickerShortcutsSeleniumTests.test_date_time_picker_shortcuts() less flaky.  
						
						... 
						
						
						
						Moved picking the current time closer to the actual click. 
						
						
					 
					
						2020-05-05 11:00:05 +02:00 
						 
				 
			
				
					
						
							
							
								Nick Pope 
							
						 
					 
					
						
						
							
						
						8f10ceaa90 
					 
					
						
						
							
							Changed '%s' % value pattern to str(value).  
						
						
						
						
					 
					
						2020-05-04 08:27:18 +02:00