Outputting CSV with Django
Outputting CSV with Django
This document explains how to output CSV (Comma Separated Values) dynamically using Django views. To do this, you can either use the Python CSV library or the Django template system.
Using the Python CSV library
Python comes with a CSV library, csv
. The key to using it with Django is that the 登录查看完整内容