Browse Source

media_url bug fix

fix_translation
Charlie Jacomme 7 years ago
committed by chirac
parent
commit
bb67127c3d
  1. 2
      re2o/settings.py

2
re2o/settings.py

@ -179,7 +179,7 @@ STATIC_URL = '/static/'
# Directory where the media files served 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 # The URL to access the static files
MEDIA_URL = '/media/' MEDIA_URL = os.path.join(BASE_DIR,'/media/')
# Models to use for graphs # Models to use for graphs
GRAPH_MODELS = { GRAPH_MODELS = {

Loading…
Cancel
Save