fix photos

This commit is contained in:
root 2017-12-18 13:11:44 +00:00
parent daa81c43ae
commit e555b7362b

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/'