Re: Odd ORM behavior

2009-03-26 Thread David Lindquist
Thanks Karen! I knew it had to be something newb-ish I was doing. :) On Mar 26, 2009, at 10:04 AM, Karen Tracey wrote: > On Thu, Mar 26, 2009 at 12:53 PM, David Lindquist > wrote: > > I am noticing some odd SQL being generated for certain queries. For > example, if I type the following in the

Re: Odd ORM behavior

2009-03-26 Thread Karen Tracey
On Thu, Mar 26, 2009 at 12:53 PM, David Lindquist wrote: > > I am noticing some odd SQL being generated for certain queries. For > example, if I type the following in the shell: > > >>> TroubleCode.objects.all()[:5] > > and then I look at the db queries: > > >>> from django.db import connection