Oh, and list() was required ;-)
On Thursday, 26 July 2012 20:44:45 UTC+1, akaariai wrote:
>
> On 26 heinä, 19:12, Sencha wrote:
> > I want to prefetch related data (ideally through the
> prefetch_related()method), however I need to use the
> > raw() mapper method that will map a custom query (
That's absolutely perfect, works like a charm! Thank you very much for the
insight.
On Thursday, 26 July 2012 20:44:45 UTC+1, akaariai wrote:
>
> On 26 heinä, 19:12, Sencha wrote:
> > I want to prefetch related data (ideally through the
> prefetch_related()method), however I need to use the
On 26 heinä, 19:12, Sencha wrote:
> I want to prefetch related data (ideally through the
> prefetch_related()method), however I need to use the
> raw() mapper method that will map a custom query (complicated table joins
> to filter my query properly) to my model. However when I try this I get:
>
I want to prefetch related data (ideally through the prefetch_related()method),
however I need to use the
raw() mapper method that will map a custom query (complicated table joins
to filter my query properly) to my model. However when I try this I get:
AttributeError: 'RawQuerySet' object has n
4 matches
Mail list logo