[BangPypers] Hi All

Gopalakrishnan Subramani gopalakrishnan.subramani at gmail.com
Mon Jan 28 08:32:06 CET 2013


You need to decide how to publish your generated PDF files.

I can think of 2 approaches.

1. Generate PDF file which can be cached (either in file system or memory).
Memory is not good choice though. This is case, use Django static file
moduels. might be this
https://docs.djangoproject.com/en/dev/howto/static-files/
2. Serve content on the fly. You don't store the generated file to
directory, instead return as stream to client. This will affect
performance, client retry cause creation same content again, consume a lot
of server resources on heavy traffic websites.




On Mon, Jan 28, 2013 at 11:46 AM, mujeesh.v.s <mujeesh at gmail.com> wrote:

> Hi Yoganand,
>
>                     I tried ReportLab.Its creating new pdf files but I just
> want show whatever pdf files
> existing in my folder. I tried pypdf also.
>
>
> Thanks & Regards
>
>
> Mujeesh.V.S
>
> +91-9483501704
>
>
> On Mon, Jan 28, 2013 at 10:57 AM, Yoganand Anandaraju <yoganand at gmx.com
> >wrote:
>
> > Did you look at ReportLab? (
> http://www.reportlab.com/software/opensource/)
> >
> >  https://docs.djangoproject.com/en/dev/howto/outputting-pdf/
> >
> > Regards,
> >  Yoganand
> > ----- Original Message -----
> > From: mujeesh.v.s
> > Sent: 01/22/13 07:39 PM
> > To: BangPypers at python.org
> > Subject: [BangPypers] Hi All
> >
> >  I am very new to django.. I want to publish pdf files from a folder. can
> > any one suggest a method? Thanks & Regards Mujeesh.V.S +91-9483501704_______________________________________________
> BangPypers mailing list
> > BangPypers at python.org http://mail.python.org/mailman/listinfo/bangpypers
> > _______________________________________________
> > BangPypers mailing list
> > BangPypers at python.org
> > http://mail.python.org/mailman/listinfo/bangpypers
> >
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list