From 8ca156bd00a25695544baa1029672cecadbda15d Mon Sep 17 00:00:00 2001 From: John Jarvis Date: Mon, 21 Oct 2013 14:41:00 -0400 Subject: [PATCH] adding STATIC_ROOT to cms --- cms/envs/aws.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cms/envs/aws.py b/cms/envs/aws.py index 575a0dd8f2..1e886255a4 100644 --- a/cms/envs/aws.py +++ b/cms/envs/aws.py @@ -85,6 +85,10 @@ CELERY_QUEUES = { with open(CONFIG_ROOT / CONFIG_PREFIX + "env.json") as env_file: ENV_TOKENS = json.load(env_file) +# STATIC_ROOT specifies the directory where static files are +# collected +STATIC_ROOT = path(ENV_TOKENS.get('STATIC_ROOT', STATIC_ROOT)) + EMAIL_BACKEND = ENV_TOKENS.get('EMAIL_BACKEND', EMAIL_BACKEND) EMAIL_FILE_PATH = ENV_TOKENS.get('EMAIL_FILE_PATH', None) LMS_BASE = ENV_TOKENS.get('LMS_BASE')