Increase django page timeout

2010-04-22 Thread Florin
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

Re: Increase django page timeout

2010-04-22 Thread Florin
My app is hosted on apache using mod_python. On Apr 22, 2:30 pm, Tom Evans wrote: > On Thu, Apr 22, 2010 at 12:19 PM, Florin wrote: > > Hi! > > > I use pisa to generate large pdf files, but it gives opage timeout > > when generating. > > It waits a long time

Re: Increase django page timeout

2010-04-22 Thread Florin
, "ge...@aquarianhouse.com" wrote: > 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 wrote: > > > > > Hi! > > > I u

Re: Increase django page timeout

2010-04-22 Thread Florin
Thanks for the tips. Is there any alternative to pisa that can process large amount of data to generate PDF files? On Apr 22, 3:14 pm, Javier Guerra Giraldez wrote: > On Thu, Apr 22, 2010 at 6:25 AM, ge...@aquarianhouse.com > > wrote: > > I your case i would put this task in queue or kind of a

Re: Increase django page timeout

2010-04-22 Thread Florin
should then be sent to response. So the bottleneck is at pdf generation step. On Apr 22, 4:25 pm, "ge...@aquarianhouse.com" wrote: > The question is: where is the bottleneck, to collect the data or to > generate the pdf??? > > On Apr 22, 2:54 pm, Florin wrote: > > > &g

Re: Increase django page timeout

2010-04-22 Thread Florin
and how many to render? > > On Apr 22, 3:54 pm, Florin wrote: > > > > > The data is collected quickly. I generate a html with pagination to > > preview the results. > > If I trace the steps, I can see that the process hangs after the data > > is collected,

Re: Increase django page timeout

2010-04-22 Thread Florin
background. > > i dont't think you can render it faster, only with better hardware. > > On Apr 22, 4:10 pm, Florin wrote: > > > > > It takes about 10 sec to generate the data, but when calling > > pisaDocument with the generated data it hangs and after a while

i18n form not working when in site root

2010-08-06 Thread Florin
Hi there, I have put the form with a select box with languages in the template header: {% for lang in LANGUAGES %} {{ lang.1 }} {% endfor %} When I change the language from any site's page it works like it should, but when I go to the homepage (site's root) the "django_language" cookie is r

Re: i18n form not working when in site root

2010-08-06 Thread Florin
FIXED :) It was an issue with FeinCMS. On Aug 6, 5:26 pm, Florin wrote: > Hi there, > > I have put the form with a select box with languages in the template > header: > > > > {% for lang in LANGUAGES %} > {{ lang.1 }} > {% endfor %} > > > > &g

[no subject]

2021-01-26 Thread Florin Ngabire
Good after every body so need help someone how has a small Python project in danger framework send me. I am new in Python -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an e

Re:

2021-01-26 Thread Florin Ngabire
Django framework On Jan 26, 2021 3:43 PM, "Florin Ngabire" wrote: > Good after every body so need help someone how has a small Python project > in danger framework send me. I am new in Python > -- You received this message because you are subscribed to the Google Groups &

Hi

2021-01-26 Thread Florin Ngabire
My name is florin.i need a support. A small Python project in django framework -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegro

Re:hi

2021-01-26 Thread Florin Ngabire
Think you sir On Jan 26, 2021 4:01 PM, "Kasper Laudrup" wrote: > Hi Florin, > > On 1/26/21 2:43 PM, Florin Ngabire wrote: > >> Good after every body so need help someone how has a small Python project >> in danger framework send me. I am new in Python >>