tenant templates dir got from env var
This commit is contained in:
parent
ad08e4e9be
commit
ef4cb6dbff
|
@ -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',
|
||||
|
|
Reference in New Issue