Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
base-django-courses
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MOOC packages by hacklab
base-django-courses
Commits
b35cd0b3
Commit
b35cd0b3
authored
Oct 14, 2019
by
Laury Bueno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Config] Enforce default file permissions for uploaded files
parent
5420b565
Pipeline
#8316
passed with stage
in 21 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
config/settings/base.py
config/settings/base.py
+4
-0
No files found.
config/settings/base.py
View file @
b35cd0b3
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment