From cda06963be53b962d286ef8b6306ce55d1eef314 Mon Sep 17 00:00:00 2001 From: Almog Laktivi Date: Tue, 21 Nov 2017 18:13:19 +0200 Subject: Add CSIT test tox settings Add template of settings with the right variables Change-Id: I5b7d23518608eb4c79f8536db060583746c26b76 Issue-ID: VVP-21 Signed-off-by: Almog Laktivi --- django/vvp/settings/tox_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/vvp/settings/tox_settings.py b/django/vvp/settings/tox_settings.py index 1963d25..4a2cf6e 100644 --- a/django/vvp/settings/tox_settings.py +++ b/django/vvp/settings/tox_settings.py @@ -326,7 +326,7 @@ DEFAULT_FILE_STORAGE = 'vvp.settings.storage.S3MediaStorage' STATICFILES_STORAGE = 'vvp.settings.storage.S3StaticStorage' # These seem to have no effect even when we don't override with custom_domain? -STATIC_URL = 'https://%s/%s/' % (AWS_S3_CUSTOM_DOMAIN, STATIC_BUCKET) -MEDIA_URL = 'https://%s/%s/' % (AWS_S3_CUSTOM_DOMAIN, MEDIA_BUCKET) +STATIC_ROOT = os.environ['STATIC_ROOT'] +STATIC_URL = '/static/' STATIC_ROOT = os.environ['STATIC_ROOT'] -- cgit