Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tools.ethertoff
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
7
Issues
7
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
osp
tools.ethertoff
Commits
7116b337
Commit
7116b337
authored
Oct 10, 2017
by
alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved media and static roots settings into local_settings
parent
f6c1ffd6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
relearn/local_settings.py.example
relearn/local_settings.py.example
+12
-1
relearn/settings.py
relearn/settings.py
+0
-10
No files found.
relearn/local_settings.py.example
View file @
7116b337
...
...
@@ -23,4 +23,15 @@ EMAIL_USE_TLS = True
HOME_PAD = 'About.md'
# You can use this if you want to run the project under a subfolder
# SUBFOLDER = '2015'
\ No newline at end of file
# SUBFOLDER = '2015'
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/var/www/example.com/media/"
MEDIA_ROOT = ''
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/var/www/example.com/static/"
STATIC_ROOT = '/home/osp/static-relearn-collected/'
relearn/settings.py
View file @
7116b337
...
...
@@ -42,21 +42,11 @@ USE_TZ = True
SITE_ID
=
1
# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/var/www/example.com/media/"
MEDIA_ROOT
=
''
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples: "http://example.com/media/", "http://media.example.com/"
MEDIA_URL
=
'/media/'
# Absolute path to the directory static files should be collected to.
# Don't put anything in this directory yourself; store your static files
# in apps' "static/" subdirectories and in STATICFILES_DIRS.
# Example: "/var/www/example.com/static/"
STATIC_ROOT
=
'/home/osp/static-relearn-collected/'
# URL prefix for static files.
# Example: "http://example.com/static/", "http://static.example.com/"
STATIC_URL
=
'/static/'
...
...
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