djangosnippets.org: Latest snippets posted by losttrekkerhttps://djangosnippets.org/users/losttrekker/2012-03-09T19:12:39.771501-06:00losttrekkerGeneric CSV export admin action factory with labels
2012-03-09T19:12:39.771501-06:00losttrekkerhttps://djangosnippets.org/snippets/2712/<p>Based on <a href="http://djangosnippets.org/snippets/2020/">#2020</a></p>
<p>This snippet creates a simple generic export to csv action that you can specify the fields you want exported and the labels used in the header row for each field. It expands on #2020 by using list comprehensions instead of sets so that you also control the …</p>
Freely redistributable