Re: [PATCH] REST: Fix duplicate project queries

2020-02-02 Thread Stephen Finucane
On Sun, 2020-02-02 at 11:29 +0100, Mete Polat wrote: > Hi Stephen, > > On 01.02.20 15:05, Stephen Finucane wrote: > > On Wed, 2020-01-29 at 20:01 +0100, Mete Polat wrote: > > > Eliminates duplicate project queries caused by calling > > > get_absolute_url() in the embedded serializers. Following fo

Re: [PATCH] REST: Fix duplicate project queries

2020-02-02 Thread Mete Polat
Hi Stephen, On 01.02.20 15:05, Stephen Finucane wrote: > On Wed, 2020-01-29 at 20:01 +0100, Mete Polat wrote: >> Eliminates duplicate project queries caused by calling >> get_absolute_url() in the embedded serializers. Following foreign keys >> with 'series__project' will cache the project of the

Re: [PATCH] REST: Fix duplicate project queries

2020-02-01 Thread Stephen Finucane
On Wed, 2020-01-29 at 20:01 +0100, Mete Polat wrote: > Eliminates duplicate project queries caused by calling > get_absolute_url() in the embedded serializers. Following foreign keys > with 'series__project' will cache the project of the series as well as > the series itself. > > Signed-off-by: Me