摘要: staticfiles:这是一个静态资源管理的app,django.contrib.staticfiles。老的版本中,静态资源管理一直是一个问题,部分app发布的时候需要带上静态资源,在部署的时候必须将每个app存在的static静态资源复制到同一个static目录。引入staticfiles之后... 阅读全文
posted @ 2015-04-24 16:49 梦的怒放ing 阅读(334) 评论(0) 推荐(0)
摘要: 我的环境是win7+python2.7.8+django1.6.4+apache2.2废话不多说,直接进入正题:下载对应的版本的mod_wsgi.so 第一步:添加mod_wsgi.so(记得对应的版本)到Apache2.2\modules底下。打开httpd.conf 第二步:添加Module... 阅读全文
posted @ 2015-04-24 14:55 梦的怒放ing 阅读(935) 评论(0) 推荐(0)
摘要: I uninstalled thePILand installed thePillowand the problem solved.PILworked fine for me with the earlier versions ofDjangobut not with Django 1.6apach... 阅读全文
posted @ 2015-04-24 14:26 梦的怒放ing 阅读(493) 评论(0) 推荐(0)