MARKDOWNX_MEDIA_PATH is relative to MEDIA_ROOT

This commit is contained in:
root 2017-12-18 15:14:23 +00:00
parent f6494c6adb
commit b294aba41a

View File

@ -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