mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[4.0.x] Fixed #33070 -- Fixed loading translations with language subtags in admin's Select2 widget.
Backport of 8eb5693091 from main
			
			
This commit is contained in:
		
				
					committed by
					
						 Mariusz Felisiak
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							3c751f008f
						
					
				
				
					commit
					a077f10df4
				
			| @@ -72,7 +72,8 @@ class AutocompleteMixinTests(TestCase): | ||||
|             'data-app-label': 'admin_widgets', | ||||
|             'data-field-name': 'band', | ||||
|             'data-model-name': 'album', | ||||
|             'data-placeholder': '' | ||||
|             'data-placeholder': '', | ||||
|             'lang': 'en', | ||||
|         }) | ||||
|  | ||||
|     def test_build_attrs_no_custom_class(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user