From 86b721a35f6dc15f3bd90494d7c5c73194ad6a64 Mon Sep 17 00:00:00 2001 From: MaM Web user Date: Wed, 17 Mar 2021 13:43:24 +0100 Subject: [PATCH] =?UTF-8?q?Testweb:=20pr=C3=A1va=20upload=C5=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nevím, proč se nesynchronizovala sama, ale whatever. P. --- mamweb/settings_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mamweb/settings_test.py b/mamweb/settings_test.py index e8af9a88..a16b36bf 100644 --- a/mamweb/settings_test.py +++ b/mamweb/settings_test.py @@ -67,3 +67,5 @@ LOGGING['loggers']['']['handlers'] = ['console', 'mail_admins'] LOGGING['loggers']['django']['handlers'] = ['console', 'mail_admins'] LOGGING['handlers']['registration_logfile']['filename'] = '/home/mam-web/logs/test/registration.log' LOGGING['handlers']['registration_error_log']['filename'] = '/home/mam-web/logs/test/registration_errors.log' + +FILE_UPLOAD_PERMISSIONS = 0o440