I would like to generate a report file from a view&template in django. Preferred file formats would be OpenOffice/ODF or PDF.
What is the best way to do this?
I do want to reuse the page layout defined in the template, possibly by redefining some blocks in a derived template.
Ideally, the report should be inserted into an existing template file so I can provide the overall page layout, headers and footer in the generated output format.