That would be awesome, somebody has a solution for this?
On Sunday, February 16, 2014 2:53:55 PM UTC-3, Robert Kajic wrote:
>
> I would love it if the Prefetch object allowed me to pass in custom
> querysets when prefetching related generic foreign fields. Specifically I
> want this in order to
I would love it if the Prefetch object allowed me to pass in custom
querysets when prefetching related generic foreign fields. Specifically I
want this in order to call select_related on each subgroup.
For now I've subclassed the GenericForiengKey class, overriding
get_prefetch_queryset, to allo
2 matches
Mail list logo