1#settings.py
2TEMPLATES = [
3 {
4 ...
5 'DIRS': [os.path.join(BASE_DIR, 'templates'),
6 os.path.join(BASE_DIR, 'templates', 'the_folder_you_created'),
7 ...
8 ]
9 }
10]
1PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
2
3TEMPLATE_DIRS = (
4 # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
5 # Always use forward slashes, even on Windows.
6 # Don't forget to use absolute paths, not relative paths.
7 os.path.join(PROJECT_ROOT, 'templates').replace('\\','/'),
8)
9
10# List of callables that know how to import templates from various sources.
11TEMPLATE_LOADERS = (
12 'django.template.loaders.filesystem.Loader',
13 'django.template.loaders.app_directories.Loader',
14# 'django.template.loaders.eggs.Loader',
15)
16