summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2021-06-15 23:33:33 (GMT)
committerChristian Pointner <equinox@helsinki.at>2021-06-15 23:33:33 (GMT)
commit1f7eedfed373b52a0a8108630c8a16deb9260a80 (patch)
tree51e00c6da35a7d1bc61145da771b1a514f1478fd
parent09276cc47736785e7a2784172a2cf3663de4e57e (diff)
hotfix: fix mode of uploaded media files
-rw-r--r--pv/settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pv/settings.py b/pv/settings.py
index 5e251df..ee30b5e 100644
--- a/pv/settings.py
+++ b/pv/settings.py
@@ -41,6 +41,9 @@ LOCALE_PATHS = (
MEDIA_ROOT = os.path.join(PROJECT_DIR, 'site_media')
MEDIA_URL = '/site_media/'
+FILE_UPLOAD_PERMISSIONS = 0644
+FILE_UPLOAD_DIRECTORY_PERMISSIONS = 0755
+
STATIC_ROOT = os.path.join(PROJECT_DIR, 'static')
STATIC_URL = '/static/'