settings: force 0644 as mode for uploaded files (#30905)
This commit is contained in:
parent
fd2672f6f2
commit
cb4233e020
|
@ -51,6 +51,9 @@ USE_TZ = True
|
|||
# Examples: "http://media.lawrence.com/media/", "http://example.com/media/"
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
# mode for newly updated files
|
||||
FILE_UPLOAD_PERMISSIONS = 0o644
|
||||
|
||||
# URL prefix for static files.
|
||||
# Example: "http://media.lawrence.com/static/"
|
||||
STATIC_URL = '/static/'
|
||||
|
|
Loading…
Reference in New Issue