jhonny-cache not invalidating "super" model in case of non-abstract inheritance
Hi, I have a base mode called Gear:
class Gear(models.Model): name = models.CharField... make = models.CharField...
Then a number of models that inherit from that one:
class Telescope(Gear) class Camera(Gear) class Software(Gear)
... and so on.
Whenever I need to deal purely with the common attribute of all gear items, that is
make, I do queries on
The problem is that whenever a
Telescope or something else is created, the cache for
Gear queries is not invalidated.
Should johnny-cache do it? Should I? If so, how? Thanks!