Coloco esto para hacer el deploy en heroku y no encuentra los templates es django 1.9.1,
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messag es',
'django.core.context_processors.static',
],
'debug': DEBUG,
},
},
]
Me genera este error :
Template-loader postmortem
Django tried loading these templates, in this order:
Using engine django:
django.template.loaders.filesystem.Loader: /app/templates/base_main.html (Source does not exist)
django.template.loaders.app_directories.Loader: /app/.heroku/python/lib/python3.4/site-packages/django/contrib/admin/templates/base_main.html (Source does not exist)
django.template.loaders.app_directories.Loader: /app/.heroku/python/lib/python3.4/site-packages/django/contrib/auth/templates/base_main.html (Source does not exist)
django.template.loaders.app_directories.Loader: /app/.heroku/python/lib/python3.4/site-packages/pure_pagination/templates/base_main.html (Source does not exist)
django.template.loaders.app_directories.Loader: /app/.heroku/python/lib/python3.4/site-packages/rest_framework/templates/base_main.html (Source does not exist)
django.template.loaders.app_directories.Loader: /app/catalogos_modulos_menus_sub_menus/templates/base_main.html (Source does not exist)
django.template.loaders.app_directories.Loader: /app/usuarios/templates/base_main.html (Source does not exist)