Saturday, March 31, 2012

Re: Report generation-reportlab

On Sat, Mar 31, 2012 at 7:54 AM, Marc Aymerich <> wrote:
> On Sat, Mar 31, 2012 at 12:38 PM, Ganesh Kumar <> wrote:
>> Hi guys,
>> I am new to django reportlab. I want to generate pdf. file to select
>> mysql (table) content. How to proceed with reportlab, I can do with
>> some other tool.
>> please guide me. your valuable suggestion.
> I'll use pisa, it allows you to generate pdf's from html source. So
> it's perfect for Django: write a template with html format, render the
> template and pass it to pisa.
> this snipet will show you how to do all the process:

AFAIK pisa has been deprecated in favour of xhtml2pdf[0]. You can use
this[1] mixin in your CBV to deliver PDFs instead of regular html.



You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment