Correction de la configuration de STATIC_ROOT

master
Olivier DOSSMANN 2017-08-23 22:04:30 +02:00
parent ab75a6120a
commit a1223ea90d
1 changed files with 1 additions and 1 deletions

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'))