On Sunday, September 14, 2014 6:35:43 AM UTC+2, Alex French wrote:
>
> I'm using Django 1.7 and I noticed something odd in my postgres query 
> logs. Almost every query has a "LIMIT 21" clause, including queries of the 
> type "Thing.objects.get(pk=#)", which could only ever return one row. This 
> behavior seems odd to me, but so far I haven't seen it come up in a place 
> where it would necessarily be harmful. Is this something I should just 
> ignore? Is it a bug?
>

LIMIT clause is included only when printing results, as explained here: 
http://www.mail-archive.com/django-users@googlegroups.com/msg67486.html 

-- 
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...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3c9ff14f-37a2-4dfd-8c71-03bffb1e60e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to