Correction de la configuration de STATIC_ROOT

This commit is contained in:
Olivier DOSSMANN 2017-08-23 22:04:30 +02:00
parent ab75a6120a
commit a1223ea90d

View File

@ -121,5 +121,5 @@ USE_TZ = False
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(os.path.abspath(os.path.curdir), 'static')
if not os.getenv('STATIC_ROOT', None):
if os.getenv('STATIC_ROOT', None):
STATIC_ROOT = os.path.abspath(os.getenv('STATIC_ROOT'))