From 59bc7d75b07812be04f7956c285e60f64aad0cb0 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 4 Feb 2019 14:11:20 -0200 Subject: [PATCH] HOT-FIX: set default uploaded file permissions to 644 --- sapl/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapl/settings.py b/sapl/settings.py index 782cbb0f4..d616a446f 100755 --- a/sapl/settings.py +++ b/sapl/settings.py @@ -278,6 +278,8 @@ STATICFILES_FINDERS = ( MEDIA_ROOT = PROJECT_DIR.child("media") MEDIA_URL = '/media/' +FILE_UPLOAD_PERMISSIONS = 0o644 + DAB_FIELD_RENDERER = \ 'django_admin_bootstrapped.renderers.BootstrapFieldRenderer' CRISPY_TEMPLATE_PACK = 'bootstrap3'