I think that would be a wrong approach.

I your case i would put this task in queue or kind of a back process.

For sure not on demand.

On Apr 22, 1:19 pm, Florin <[email protected]> wrote:
> Hi!
>
> I use pisa to generate large pdf files, but it gives opage timeout
> when generating.
> It waits a long time at the following line:
> pdf = pisa.pisaDocument(StringIO(html.encode("UTF-8")), dest=buffer,
> link_callback=fetch_resources)
>
> As a workaround - is it possible to increase the page timeout to see
> if it generates the pdf and how long it takes?
>
> Thanks!
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/django-users?hl=en.

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

Reply via email to