Fixed #28252 -- Corrected docs for default file extensions of makemessages.

This commit is contained in:
Jonatas CD 2017-08-11 21:22:10 +02:00 committed by Tim Graham
parent abd723c6a0
commit 31f133ea08
1 changed files with 3 additions and 3 deletions

View File

@ -1500,9 +1500,9 @@ message file under the directory listed first in :setting:`LOCALE_PATHS` or
will generate an error if :setting:`LOCALE_PATHS` is empty.
By default :djadmin:`django-admin makemessages <makemessages>` examines every
file that has the ``.html`` or ``.txt`` file extension. In case you want to
override that default, use the ``--extension`` or ``-e`` option to specify the
file extensions to examine::
file that has the ``.html``, ``.txt`` or ``.py`` file extension. If you want to
override that default, use the :option:`--extension <makemessages --extension>`
or ``-e`` option to specify the file extensions to examine::
django-admin makemessages -l de -e txt