1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Added '.txt' to list of file extensions that the makemessages management command automatically scans. Refs #12202.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16437 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel
2011-06-19 11:24:25 +00:00
parent ac4d015703
commit 63f9b67129
3 changed files with 6 additions and 5 deletions

View File

@@ -356,7 +356,7 @@ class Command(NoArgsCommand):
if domain == 'djangojs':
extensions = handle_extensions(extensions or ['js'])
else:
extensions = handle_extensions(extensions or ['html'])
extensions = handle_extensions(extensions or ['html', 'txt'])
if verbosity > 1:
sys.stdout.write('examining files with the extensions: %s\n'