mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.10.x] Fixed #27439 -- Documented macOS locale configuration for Django tests.
Backport of 0a8c685447 from master
			
			
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							54cce02ddd
						
					
				
				
					commit
					1a039e76c7
				
			| @@ -259,6 +259,15 @@ You can resolve this on Debian-based systems, for example, by running:: | |||||||
|     $ apt-get install locales |     $ apt-get install locales | ||||||
|     $ dpkg-reconfigure locales |     $ dpkg-reconfigure locales | ||||||
|  |  | ||||||
|  | You can resolve this for macOS systems by configuring your shell's locale:: | ||||||
|  |  | ||||||
|  |     $ export LANG="en_US.UTF-8" | ||||||
|  |     $ export LC_ALL="en_US.UTF-8" | ||||||
|  |  | ||||||
|  | Run the ``locale`` command to confirm the change. Optionally, add those export | ||||||
|  | commands to your shell's startup file (e.g. ``~/.bashrc`` for Bash) to avoid | ||||||
|  | having to retype them. | ||||||
|  |  | ||||||
| Tests that only fail in combination | Tests that only fail in combination | ||||||
| ----------------------------------- | ----------------------------------- | ||||||
|  |  | ||||||
|   | |||||||
| @@ -451,6 +451,7 @@ lowercasing | |||||||
| lt | lt | ||||||
| lte | lte | ||||||
| Luhn | Luhn | ||||||
|  | macOS | ||||||
| Magee | Magee | ||||||
| makemessages | makemessages | ||||||
| makemigrations | makemigrations | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user