Commit 2d3d6725 authored by Bruno Martin's avatar Bruno Martin
Browse files

add TimtecThemeLoader to production enviroment

parent a4fc26d5
Pipeline #7511 passed with stages
in 37 seconds
...@@ -98,7 +98,10 @@ EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend' ...@@ -98,7 +98,10 @@ EMAIL_BACKEND = 'anymail.backends.mailgun.EmailBackend'
# https://docs.djangoproject.com/en/dev/ref/templates/api/#django.template.loaders.cached.Loader # https://docs.djangoproject.com/en/dev/ref/templates/api/#django.template.loaders.cached.Loader
TEMPLATES[0]['OPTIONS']['loaders'] = [ TEMPLATES[0]['OPTIONS']['loaders'] = [
('django.template.loaders.cached.Loader', [ ('django.template.loaders.cached.Loader', [
'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader', ]), 'courses_legacy.core.loaders.TimtecThemeLoader',
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
]),
] ]
# CACHING # CACHING
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment