tenant templates dir got from env var

This commit is contained in:
Serghei Mihai 2014-05-27 10:50:41 +02:00
parent ad08e4e9be
commit ef4cb6dbff
1 changed files with 1 additions and 1 deletions

View File

@ -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',