Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Commit d27b639

Browse files
committed
Switch to boto3. It's the future. If it doesn't work, the old versions were boto==2.27.0 and django-storages==1.2.
1 parent 577b34f commit d27b639

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

icekit/utils/storage.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from django.conf import settings
22
from django.core.files.storage import FileSystemStorage, get_storage_class
33
# from ixc_whitenoise.storage import HashedMediaMixin
4-
from storages.backends.s3boto import S3BotoStorage
4+
from storages.backends.s3boto3 import S3Boto3Storage
55

66

77
# MIXINS ######################################################################
@@ -58,7 +58,7 @@ class S3DefaultStorage(
5858
# HashedMediaMixin,
5959
S3MediaLocationMixin,
6060
S3PrivateMixin,
61-
S3BotoStorage):
61+
S3Boto3Storage):
6262

6363
pass
6464

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def find_packages(*paths):
9696
'django-forms-builder',
9797
],
9898
'project': [
99-
'boto<=2.27', # See: https://interaction-p.assembla.com/spaces/sfmoma/tickets/484/details?comment=824169603
99+
'boto3',
100100
'celery[redis]',
101101
'ConcurrentLogHandler',
102102
'django-celery',

0 commit comments

Comments
 (0)