Tuesday, November 3, 2009

Re: render_to_response taking 50 seconds!

I strongly suggest you to use pagination here.

2009/11/3 Low Kian Seong <django.low@gmail.com>

I have about 3k plus record in my db table and am trying to do a
simple render_to_response of a template sending it the results of a
query. I debugged this and found that the total time taken for an
operation like this is 50 seconds! Is there anyway to speed this up?

--
Low Kian Seong
blog: http://lowkster.blogspot.com





--
regards,
Mihail


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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate