From 31f133ea08d41907a67f9e3d667f2a09c167a97c Mon Sep 17 00:00:00 2001 From: Jonatas CD Date: Fri, 11 Aug 2017 21:22:10 +0200 Subject: [PATCH] Fixed #28252 -- Corrected docs for default file extensions of makemessages. --- docs/topics/i18n/translation.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index a8c2a106e4..bcdf3324f8 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -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 ` 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 ` +or ``-e`` option to specify the file extensions to examine:: django-admin makemessages -l de -e txt