Commit c746d12c authored by Christophe Siraut's avatar Christophe Siraut

Adding correct static path for debug mode.

parent 506d9336
......@@ -51,6 +51,8 @@ USE_I18N = True
# Example: "/home/media/media.lawrence.com/"
# Change this for production
MEDIA_ROOT = '/var/www/nuages/static/'
if DEBUG:
MEDIA_ROOT = os.path.join(PROJECT_DIR, 'static')
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
......
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