Skip to content
Snippets Groups Projects
Commit 22ab697d authored by Sébastien DA ROCHA's avatar Sébastien DA ROCHA :bicyclist:
Browse files

STATIC_URL et MEDIA_URL configurables

parent f32bf114
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment