diff options
Diffstat (limited to 'django/template/loaders/filesystem.py')
| -rw-r--r-- | django/template/loaders/filesystem.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/template/loaders/filesystem.py b/django/template/loaders/filesystem.py index ee34c6c715..0c94021fb8 100644 --- a/django/template/loaders/filesystem.py +++ b/django/template/loaders/filesystem.py @@ -8,7 +8,7 @@ def get_template_sources(template_name, template_dirs=None): if not template_dirs: template_dirs = settings.TEMPLATE_DIRS for template_dir in template_dirs: - yield os.path.join(template_dir, template_name) + settings.TEMPLATE_FILE_EXTENSION + yield os.path.join(template_dir, template_name) def load_template_source(template_name, template_dirs=None): tried = [] |
