settings: overload all templates with portail_citoyen templates
This commit is contained in:
parent
3662480bbf
commit
bf3dac1b2a
|
@ -99,10 +99,11 @@ PORTAIL_CITOYEN_FAVICON_URL = ''
|
|||
|
||||
ROOT_URLCONF = 'portail_citoyen.urls'
|
||||
|
||||
TEMPLATE_DIRS = [os.path.join(PROJECT_PATH, 'templates']
|
||||
if os.environ.get('TEMPLATE_DIRS'):
|
||||
TEMPLATE_DIRS = os.environ['TEMPLATE_DIRS'].split(':')
|
||||
TEMPLATE_DIRS = os.environ['TEMPLATE_DIRS'].split(':') + TEMPLATE_DIRS
|
||||
else:
|
||||
TEMPLATE_DIRS = ('/var/lib/%s/templates' % PROJECT_NAME,)
|
||||
TEMPLATE_DIRS = ['/var/lib/%s/templates' % PROJECT_NAME] + TEMPLATE_DIRS
|
||||
|
||||
INSTALLED_APPS = (
|
||||
'django.contrib.auth',
|
||||
|
|
Reference in New Issue