Re: Django: creating formset is very slow

2012-07-29 Thread Thorn
Hi Kottiyath, What is your solution exactly? I am experiencing the same problem. Simple formset takes minutes. Render_to_response method has mimetype parameter. Did you call this function with some argument? 66 Ocak 2009 Salı 14:10:08 UTC-5 tarihinde Kottiyath Nair yazdı: > > Hi all, >My

Re: Django: creating formset is very slow

2009-01-07 Thread Kottiyath
Hi, I was able to solve it. The issue was not with formsets, nor database. It was slow because request.POST was getting delayed - ranging from 3.5 seconds to 3+ minutes. I even tried having an assignment as follows: x = request.POST and even that was taking 3seconds to 3

Re: Django: creating formset is very slow

2009-01-06 Thread Jeff FW
Post the code for DataForm--I'll bet it's hitting the database a number of times. That would be the only reason I can think of that it would take that long. I just created a formset containing simple forms, and it instantiated almost instantly--even with 2000 forms. -Jeff On Jan 6, 3:21 pm,

Re: Django: creating formset is very slow

2009-01-06 Thread Kottiyath Nair
I tried with 500 forms instead of 25. Now the time is becoming appaling.--- 117 seconds. Second time it hung. 2009-01-07 01:42:13,812 INFO Start - 4.46984183744e-006 2009-01-07 01:42:13,812 INFO Formset Class created- 0.000422958783868 2009-01-07 01:44:11,703 INFO Created new formset-

Django: creating formset is very slow

2009-01-06 Thread Kottiyath Nair
Hi all, My web application sends a medium size data grid (20 elements). I was using formsets for the same. The issue I am facing is that the formset instantiation is very very slow. I timed it and it is taking ~4-7 seconds for it to instantiate. Is there someway the speed can be