Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
Docker Onegeo Suite
Manage
Activity
Members
Plan
Wiki
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OneGeo Suite
Dockers
Docker Onegeo Suite
Commits
22ab697d
Commit
22ab697d
authored
2 years ago
by
Sébastien DA ROCHA
Browse files
Options
Downloads
Patches
Plain Diff
STATIC_URL et MEDIA_URL configurables
parent
f32bf114
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker/settings.py
+2
-2
2 additions, 2 deletions
docker/settings.py
with
2 additions
and
2 deletions
docker/settings.py
+
2
−
2
View file @
22ab697d
...
...
@@ -230,9 +230,9 @@ ONEGEOSUITE_EMAIL_SUBJECT_PREFIX = config('EMAIL_SUBJECT_PREFIX', default='ONEGE
ONEGEOSUITE_EMAIL_FOOTER
=
config
(
'
EMAIL_FOOTER
'
,
default
=
None
)
# Static and media files
STATIC_URL
=
'
/static/
'
STATIC_URL
=
config
(
'
STATIC_URL
'
,
default
=
'
/static/
'
)
STATIC_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'
static
'
)
MEDIA_URL
=
'
/media/
'
MEDIA_URL
=
config
(
'
MEDIA_URL
'
,
default
=
'
/media/
'
)
MEDIA_ROOT
=
os
.
path
.
join
(
BASE_DIR
,
'
media
'
)
# Onegeo-Suite triggers:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment