Commit b35cd0b3 authored by Laury Bueno's avatar Laury Bueno

[Config] Enforce default file permissions for uploaded files

parent 5420b565
Pipeline #8316 passed with stage
in 21 seconds
......@@ -175,6 +175,10 @@ USE_TZ = True
# See: https://docs.djangoproject.com/en/2.2/ref/settings/#data-upload-max-memory-size
DATA_UPLOAD_MAX_MEMORY_SIZE = env.int('DATA_UPLOAD_MAX_MEMORY_SIZE', default=52428800)
# FILE_UPLOAD_PERMISSIONS
# See: https://docs.djangoproject.com/en/2.2/ref/settings/#std:setting-FILE_UPLOAD_PERMISSIONS
FILE_UPLOAD_PERMISSIONS = 0o755;
# TEMPLATE CONFIGURATION
# ------------------------------------------------------------------------------
# See: https://docs.djangoproject.com/en/dev/ref/settings/#templates
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment