mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[1.11.x] Fixed #28252 -- Corrected docs for default file extensions of makemessages.
Backport of 31f133ea08 from master
			
			
This commit is contained in:
		| @@ -1668,9 +1668,9 @@ message file under the directory listed first in :setting:`LOCALE_PATHS` or | |||||||
| will generate an error if :setting:`LOCALE_PATHS` is empty. | will generate an error if :setting:`LOCALE_PATHS` is empty. | ||||||
|  |  | ||||||
| By default :djadmin:`django-admin makemessages <makemessages>` examines every | By default :djadmin:`django-admin makemessages <makemessages>` examines every | ||||||
| file that has the ``.html`` or ``.txt`` file extension. In case you want to | file that has the ``.html``, ``.txt`` or ``.py`` file extension. If you want to | ||||||
| override that default, use the ``--extension`` or ``-e`` option to specify the | override that default, use the :option:`--extension <makemessages --extension>` | ||||||
| file extensions to examine:: | or ``-e`` option to specify the file extensions to examine:: | ||||||
|  |  | ||||||
|     django-admin makemessages -l de -e txt |     django-admin makemessages -l de -e txt | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user