> > My app does a bunch of database queries and processing and when I
> > timed that part, it all completes within 0.5 seconds, but the call to
> > render_to_response() takes 18 seconds.  Needless to say, the end-user
> > experience isn't acceptable.
>
> I don't know if you are aware about the fact that the SQL queries do
> not
> execute until you perform an action that actually evaluates data from
> the query.

I wasn't aware of that, but in my case, I am processing the data
before I render the template.  I actually loop though all the records
and do some processing so I know the SQL queries are occurring within
the 0.5 seconds I mentioned above.

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to