Thursday, April 7, 2011

Why Django inserts LIMIT 21 on QuerySets...

Running the 'debugsqlshell' command in Django shows a lot of LIMIT 21 queries.  Why do they appear?  Here is a good explanation for why (basically so you don't see infinite items listed when doing a repr() on a QuerySet):

No comments:

Post a Comment