Comment 5 for bug 1066775

Revision history for this message
Raphaël Badin (rvb) wrote :

> Raphaël, Ok, let's get that fix in!

Not really easy because, as I say in my comment, piston uses queryset.iterator() internally when serializing the objects and this forbids the usage of prefetch_related().

Maybe there is a way to trick piston into not using iterator()… but it's really not obvious how.