def setup_join_cache(sender, **kwargs):
 sender._meta._join_cache = {}

def setup_join_cache ( sender , ** kwargs ) : sender . _meta . _join_cache = { }
the information needed to join between model fields is something that is invariant over the life of the model .