From 1f7eedfed373b52a0a8108630c8a16deb9260a80 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Wed, 16 Jun 2021 01:33:33 +0200 Subject: hotfix: fix mode of uploaded media files 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/' -- cgit v0.10.2