摘要:
```
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... 阅读全文
摘要:
![](http://images2015.cnblogs.com/blog/720785/201707/720785-20170711164303665-776094821.png) ![](http://images2015.cnblogs.com/blog/720785/201707/720785-20170711164312212-111486286.png) ![](http://i... 阅读全文