def cache_relationships(self, cache_super=True, cache_sub=True):
return self.get_queryset().cache_relationships(cache_super=cache_super, cache_sub=cache_sub)<EOL>
Caches the super and sub relationships by doing a prefetch_related.