Commit 98eae956 authored by Maël Kervella's avatar Maël Kervella
Browse files

Avoid duplicate settings and keeps comments

parent 2337a249
...@@ -155,16 +155,14 @@ BOOTSTRAP_BASE_URL = '/static/bootstrap/' ...@@ -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 = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment