fix photos

This commit is contained in:
root 2017-12-18 13:11:44 +00:00 committed by j
parent 049407bf1a
commit fb828607f9

View File

@ -136,12 +136,14 @@ 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_EDITOR_RESIZABLE = True
MEDIA_URL = '/images/'
MEDIA_URL = '/static/images/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'data/images')
MEDIA_ROOT = os.path.join(BASE_DIR, 'static/images')
IMAGE_PREFIX = 'http://studio.camp/images/'