From ef4cb6dbff636ead63223503e2113fcc79d8044e Mon Sep 17 00:00:00 2001 From: Serghei MIHAI Date: Tue, 27 May 2014 10:50:41 +0200 Subject: [PATCH] tenant templates dir got from env var --- portail_citoyen2/tenant_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portail_citoyen2/tenant_settings.py b/portail_citoyen2/tenant_settings.py index 8f7e20a..cb0adcc 100644 --- a/portail_citoyen2/tenant_settings.py +++ b/portail_citoyen2/tenant_settings.py @@ -27,7 +27,7 @@ TEMPLATE_LOADERS = ( 'django.template.loaders.app_directories.Loader', ) -MULTITENANT_TEMPLATE_DIRS = ('/var/lib/my_project/templates/',) +MULTITENANT_TEMPLATE_DIRS = (os.environ.get('MULTITENANT_TEMPLATE_DIR', '/var/lib/my_project/templates/'),) TENANT_APPS = ( 'django.contrib.auth',