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

Commit 52e59b6

Browse files
committed
Merge branch 'public-s3-storage-support' into develop
2 parents 143501c + b6fa5ed commit 52e59b6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

icekit/utils/storage.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,10 @@ class S3DefaultStorage(
6363
pass
6464

6565

66-
default_storage = get_storage_class(settings.DEFAULT_FILE_STORAGE)()
66+
class S3PublicStorage(
67+
# HashedMediaMixin,
68+
S3MediaLocationMixin,
69+
S3PublicMixin,
70+
S3Boto3Storage):
71+
72+
pass

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
djangorestframework<3.7 # Avoid JSONField errors with Django 1.8
2+
13
-e .[api,brightcove,dev,docs,django18,forms,project,search,test,events,collections]
24

35
-e git+https://github.com/ixc/django-dynamic-fixture.git@caeb3427399edd3b0d589516993c7da55e0de560#egg=django-dynamic-fixture

0 commit comments

Comments
 (0)