Re: Odd behaviour from prefetch_related since upgrading to 1.6

2013-11-09 Thread Tim Dawborn
In case this kind of issue ends up hitting anyone else, the bug was with django-cache-machine not playing nicely with the Django cache API changes introduced in 1.6 . https://git

Odd behaviour from prefetch_related since upgrading to 1.6

2013-11-08 Thread Tim Dawborn
After upgrading to 1.6 yesterday, our production instance is exhibiting some odd behaviour with prefetch_related. As the example below shows, when using prefetch_related on the foreign field (viewed_cm), the returned instance apparently does not have this foreign field set, even though the earl