kid143/phdgogo — pull request #3 by fanshaorui (2013-10-14 01:55:08+00:00)
Title: 新增采购清单功能、查阅/清空/新增采购清单、并生成excel文件

settings里需添加:
from django.conf import global_settings
TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
"django.core.context_processors.request",
)

pip需添加:
pip install django-excel-response xlwt
然后在setting里增加'excel_response',