Re: potential bug with defer() & only()

2014-12-23 Thread Russell Keith-Magee
Hi Will, On Tue, Dec 23, 2014 at 3:56 PM, William Earp wrote: > > Hi all, > > I'm writing some tests #18586) for defer() and only() and there appears to > be a bug when it comes to chaining these two in a single query. > > If you look at the docs ( >

potential bug with defer() & only()

2014-12-23 Thread William Earp
Hi all, I'm writing some tests #18586) for defer() and only() and there appears to be a bug when it comes to chaining these two in a single query. If you look at the docs (https://docs.djangoproject.com/en/dev/ref/models/querysets/#django.db.models.query.QuerySet.only), it says this: #