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

Commit 0012c5a

Browse files
committed
Add S3PublicStorage public storage config for S3
Make it possible to more easily configure a GLAMkit site to use public instead of private S3 storage. The implementation is drawn from the languishing and contentious pull request at #217
1 parent 0f9bfbd commit 0012c5a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

icekit/utils/storage.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,13 @@ class S3DefaultStorage(
6363
pass
6464

6565

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

0 commit comments

Comments
 (0)