Correction de la configuration de STATIC_ROOT
This commit is contained in:
parent
ab75a6120a
commit
a1223ea90d
@ -121,5 +121,5 @@ USE_TZ = False
|
|||||||
|
|
||||||
STATIC_URL = '/static/'
|
STATIC_URL = '/static/'
|
||||||
STATIC_ROOT = os.path.join(os.path.abspath(os.path.curdir), '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'))
|
STATIC_ROOT = os.path.abspath(os.getenv('STATIC_ROOT'))
|
||||||
|
Loading…
Reference in New Issue
Block a user