mirror of
https://github.com/django/django.git
synced 2025-10-26 07:06:08 +00:00
Fixed #583 -- Added app_directories template loader, which searches for templates in 'templates' directory in each INSTALLED_APPS package. It's turned off by default.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@892 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
@@ -65,6 +65,7 @@ TEMPLATE_FILE_EXTENSION = '.html'
|
||||
# See the comments in django/core/template/loader.py for interface
|
||||
# documentation.
|
||||
TEMPLATE_LOADERS = (
|
||||
# 'django.core.template.loaders.app_directories.load_template_source',
|
||||
'django.core.template.loaders.filesystem.load_template_source',
|
||||
# 'django.core.template.loaders.eggs.load_template_source',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user