summaryrefslogtreecommitdiff
path: root/pv
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2021-03-29 12:22:19 (GMT)
committerChristian Pointner <equinox@helsinki.at>2021-05-28 20:17:37 (GMT)
commitdde04a95dcb76b765b8c66775a6ee242d3c316c4 (patch)
tree9dd6feef40534dae4f515dc6d24b7fc1ea29acca /pv
parent8154c30318127e0491786b65975bee808cd8e27b (diff)
add show and note images based on S3 storage
Diffstat (limited to 'pv')
-rw-r--r--pv/settings.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pv/settings.py b/pv/settings.py
index 41da596..18a1e5e 100644
--- a/pv/settings.py
+++ b/pv/settings.py
@@ -104,6 +104,14 @@ TINYMCE_DEFAULT_CONFIG = {
CACHE_BACKEND = 'locmem://'
+
+DEFAULT_FILE_STORAGE = 'storages.backends.s3boto3.S3Boto3Storage'
+# AWS_ACCESS_KEY_ID = 'django'
+# AWS_SECRET_ACCESS_KEY = 'changeme'
+# AWS_S3_ENDPOINT_URL = 'http://172.17.0.1:9000'
+# AWS_STORAGE_BUCKET_NAME = 'program'
+
+
MUSIKPROG_IDS = (
1, # unmodieriertes musikprogramm
)