[PATCH] REST: Only call prefetch_related from a method

Andy Doan andy.doan at linaro.org
Fri Feb 24 14:38:20 AEDT 2017


On 02/07/2017 04:11 PM, Stephen Finucane wrote:
> Calling prefetch_related on a class-level queryset variable doesn't do
> anything and is a mistake. Correct this.
>
> Signed-off-by: Stephen Finucane <stephen at that.guru>
> Cc: Andy Doan <andy.doan at linaro.org>

Reviewed-by: Andy Doan <andy.doan at linaro.org>



More information about the Patchwork mailing list