Find out which template you need to modify and where to put the code,
then just use xlwt. It's on PyPI and I've used it quite a bit.
Alternatively you can use csv.writer or csv.DictWriter, which can be
natively opened in Excel and is still easily parsable by other tools.

The complicated thing is how you choose to handle many-to-many and
foreign key info. That will determine whether you can make something
generic (using model introspection) or whether you're going to have to
require/allow meta information in the model declarations to make it
configurable.

Shawn

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to