From b294aba41a80e44322d00596c86f00c11caf891e Mon Sep 17 00:00:00 2001 From: root Date: Mon, 18 Dec 2017 15:14:23 +0000 Subject: [PATCH] MARKDOWNX_MEDIA_PATH is relative to MEDIA_ROOT --- camp/settings.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/camp/settings.py b/camp/settings.py index 9b57c0c..8aaf363 100644 --- a/camp/settings.py +++ b/camp/settings.py @@ -135,9 +135,7 @@ STATIC_ROOT = '' STATICFILES_DIRS = (os.path.join(SITE_ROOT, 'static'), ) -MARKDOWNX_MEDIA_PATH = os.path.join(BASE_DIR, 'data/images') -MARKDOWNX_MEDIA_PATH = os.path.join(BASE_DIR, 'static/images') - +MARKDOWNX_MEDIA_PATH = 'images/markdown' MARKDOWNX_EDITOR_RESIZABLE = True