8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2024-12-23 07:23:46 +00:00

media_url bug fix

This commit is contained in:
Charlie Jacomme 2018-08-10 16:03:30 +02:00 committed by chirac
parent 51bfb5d6ce
commit bb67127c3d

View file

@ -179,7 +179,7 @@ STATIC_URL = '/static/'
# Directory where the media files served by the server are stored
MEDIA_ROOT = os.path.join(BASE_DIR, 'media').replace('\\', '/')
# The URL to access the static files
MEDIA_URL = '/media/'
MEDIA_URL = os.path.join(BASE_DIR,'/media/')
# Models to use for graphs
GRAPH_MODELS = {