From bb7b18b2b2cb244ef47a2ee1c81eeb1c8766228b Mon Sep 17 00:00:00 2001 From: Lili Kastilio Date: Sun, 26 Sep 2021 18:12:54 +0100 Subject: [PATCH] Fix/update s3 widget config (#176) * fix: update S3 Widget usage as per new version docs * fix: update s3 vars --- circle.yml | 1 + requirements/base.txt | 2 +- tox.ini | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/circle.yml b/circle.yml index 0bd9b8c4..fbda96cd 100644 --- a/circle.yml +++ b/circle.yml @@ -5,6 +5,7 @@ machine: AWS_ACCESS_KEY_ID: test AWS_SECRET_ACCESS_KEY: test AWS_STORAGE_BUCKET_NAME: test + AWS_S3_REGION_NAME: test DATABASE_URL: postgres://ubuntu:@127.0.0.1:5432/circle_test DEBUG: 0 DJANGO_SETTINGS_MODULE: pimpmycause.settings.testing diff --git a/requirements/base.txt b/requirements/base.txt index 4d298c65..223d661c 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -17,5 +17,5 @@ django-map-widgets==0.3.1 geocoder==1.32.1 # Used for geolocating user django_storages==1.7 # Hosting all the site images django-dotenv==1.4.1 # Read env variables from a file for DEV -boto==2.48.0 # Talking to AWS +boto==2.48.0 # Talking to AWS flake8==3.5.0 # Python linter diff --git a/tox.ini b/tox.ini index 5912a466..801d1f48 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,7 @@ passenv= AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_STORAGE_BUCKET_NAME + AWS_S3_REGION_NAME DATABASE_URL SECRET_KEY