fix photos
This commit is contained in:
parent
049407bf1a
commit
fb828607f9
|
@ -136,12 +136,14 @@ STATIC_ROOT = ''
|
||||||
STATICFILES_DIRS = (os.path.join(SITE_ROOT, 'static'), )
|
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, 'data/images')
|
||||||
|
MARKDOWNX_MEDIA_PATH = os.path.join(BASE_DIR, 'static/images')
|
||||||
|
|
||||||
|
|
||||||
MARKDOWNX_EDITOR_RESIZABLE = True
|
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, 'data/images')
|
||||||
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'static/images')
|
||||||
|
|
||||||
IMAGE_PREFIX = 'http://studio.camp/images/'
|
IMAGE_PREFIX = 'http://studio.camp/images/'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user