django ImageField用法
摘要:
settings里的设置PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname('__file__')))MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'media')MEDIA_URL = '/med... 阅读全文
posted @ 2014-07-08 17:43 颓废的悠然 阅读(4433) 评论(1) 推荐(0) 编辑