8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-11-26 14:42:25 +00:00

Avoid duplicate settings and keeps comments

This commit is contained in:
Maël Kervella 2018-04-15 17:26:28 +00:00
parent 2337a24997
commit 98eae95632

View file

@ -155,16 +155,14 @@ BOOTSTRAP_BASE_URL = '/static/bootstrap/'
STATICFILES_DIRS = ( STATICFILES_DIRS = (
os.path.join(BASE_DIR, 'static').replace('\\', '/'), os.path.join(BASE_DIR, 'static').replace('\\', '/'),
) )
# Directory where the static files served by the server are stored
MEDIA_ROOT = '/var/www/re2o/media'
MEDIA_URL = '/media/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static_files') STATIC_ROOT = os.path.join(BASE_DIR, 'static_files')
# The URL to access the static files # The URL to access the static files
STATIC_URL = '/static/' STATIC_URL = '/static/'
# Directory where the media files serverd by the server are stored # Directory where the media files served by the server are stored
MEDIA_ROOT = os.path.join(BASE_DIR, 'media').replace('\\', '/') MEDIA_ROOT = os.path.join(BASE_DIR, 'media').replace('\\', '/')
# The URL to access the static files
MEDIA_URL = '/media/'
# Models to use for graphs # Models to use for graphs
GRAPH_MODELS = { GRAPH_MODELS = {