摘要: ``` import io,xlwt def export_excel(request): """导出数据到excel表""" list_obj = models.Asset._meta.get_fields() list_data = models.Asset.objects.all().values() if list_obj: ws = xlw... 阅读全文
posted @ 2017-07-11 16:48 Dus 阅读(1312) 评论(0) 推荐(0) 编辑
摘要: ![](http://images2015.cnblogs.com/blog/720785/201707/720785-20170711164303665-776094821.png) ![](http://images2015.cnblogs.com/blog/720785/201707/720785-20170711164312212-111486286.png) ![](http://i... 阅读全文
posted @ 2017-07-11 16:17 Dus 阅读(265) 评论(0) 推荐(0) 编辑