From: Almog Laktivi Date: Tue, 21 Nov 2017 16:13:19 +0000 (+0200) Subject: Add CSIT test tox settings X-Git-Tag: 2.0.0-ONAP~15 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=cda06963be53b962d286ef8b6306ce55d1eef314;p=vvp%2Fengagementmgr.git 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 --- 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']