Caching queries in Django
- by dolma33
In a django project I only need to cache a few queries, using, because of server limitations, a cache table instead of memcached.
One of those queries looks like this:
Let's say I have a Parent object, which has a lot of Child objects.
I need to store the result of the simple query parent.childs.all().
I have no problem with that, and everything…