From daa81c43ae33e4824127a8b07fc1f8c60d186125 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 18 Dec 2017 13:02:33 +0000 Subject: [PATCH] fix path --- camp/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/camp/settings.py b/camp/settings.py index 69dd2b6..2b917b1 100644 --- a/camp/settings.py +++ b/camp/settings.py @@ -135,13 +135,13 @@ STATIC_ROOT = '' STATICFILES_DIRS = (os.path.join(SITE_ROOT, 'static'), ) -MARKDOWNX_MEDIA_PATH = os.path.join(BASE_ROOT, 'data/images') +MARKDOWNX_MEDIA_PATH = os.path.join(BASE_DIR, 'data/images') MARKDOWNX_EDITOR_RESIZABLE = True MEDIA_URL = '/images/' -MEDIA_ROOT = os.path.join(BASE_ROOT, 'data/images') +MEDIA_ROOT = os.path.join(BASE_DIR, 'data/images') IMAGE_PREFIX = 'http://studio.camp/images/'