Update to boto3

This fixes S3 support
pull/241/head
Karl Hobley 2019-07-18 11:30:00 +01:00
rodzic 4eb8f41e7a
commit 70ea9b1fae
2 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -98,7 +98,7 @@ if 'AWS_STORAGE_BUCKET_NAME' in os.environ:
INSTALLED_APPS.append('storages') INSTALLED_APPS.append('storages')
MEDIA_URL = "https://%s/" % AWS_S3_CUSTOM_DOMAIN MEDIA_URL = "https://%s/" % AWS_S3_CUSTOM_DOMAIN
DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3BotoStorage' DEFAULT_FILE_STORAGE = 'storages.backends.s3boto.S3Boto3Storage'
LOGGING = { LOGGING = {
'version': 1, 'version': 1,

Wyświetl plik

@ -7,8 +7,8 @@ dj-database-url==0.4.1
uwsgi==2.0.17.1 uwsgi==2.0.17.1
psycopg2==2.7.3.1 psycopg2==2.7.3.1
whitenoise==3.2.2 whitenoise==3.2.2
boto==2.45.0 boto3==1.9.189
django-storages==1.6.5 django-storages==1.7.1
# For retrieving credentials and signing requests to Elasticsearch # For retrieving credentials and signing requests to Elasticsearch
botocore==1.12.33 botocore==1.12.33
aws-requests-auth==0.4.0 aws-requests-auth==0.4.0