def get_by_natural_key(self, app_label, model):
        try:
            ct = self._cache[self.db][(app_label, model)]
        except __HOLE__:
            ct = self.get(app_label=app_label, model=model)
            self._add_to_cache(self.db, ct)
        return ct
dataset/ETHPy150Open django/django/django/contrib/contenttypes/models.py/ContentTypeManager.get_by_natural_key