oh,I make a mistake the first query is

Entry.objects.all()[0:1]

but still have the problem
On Tue, Apr 29, 2008 at 3:10 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

> I use django.core.context_processors.debug to see the sql_queries in
> template.
> The raw sql of query
>
> Entry.objects.all()[0,1]
>
> does not in the sql_queries,but if I change the query like this
>
> Entry.objects.all()[0]
>
> and then the sql is in the sql_queries. why?
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to