添加了富文本编辑器上传图片的功能,上传路径在setting_loacl和server里暂时在static/src/upload_image/

This commit is contained in:
sxw@401
2015-09-11 20:34:15 +08:00
parent 70d3fcf323
commit 9b83a2e249
6 changed files with 45 additions and 2 deletions

View File

@@ -28,6 +28,8 @@ DATABASES = {
DEBUG = True
# 同理 这是 web 服务器的上传路径
TEST_CASE_DIR = os.path.join(BASE_DIR, 'test_case/')
TEST_CASE_DIR = os.path.join(BASE_DIR, 'test_case/')
ALLOWED_HOSTS = []
IMAGE_UPLOAD_DIR = os.path.join(BASE_DIR, 'static/src/upload_image/')