Add CSIT test tox settings 27/24727/1
authorAlmog Laktivi <al942u@att.com>
Tue, 21 Nov 2017 16:13:19 +0000 (18:13 +0200)
committerAlmog Laktivi <al942u@att.com>
Tue, 21 Nov 2017 16:13:28 +0000 (18:13 +0200)
Add template of settings with the right variables

Change-Id: I5b7d23518608eb4c79f8536db060583746c26b76
Issue-ID: VVP-21
Signed-off-by: Almog Laktivi <al942u@att.com>
django/vvp/settings/tox_settings.py

index 1963d25..4a2cf6e 100644 (file)
@@ -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']