Ticket #17256: 17107.patch
File 17107.patch, 502 bytes (added by , 13 years ago) |
---|
-
django/contrib/contenttypes/models.py
13 13 ct = self.__class__._cache[self.db][(app_label, model)] 14 14 except KeyError: 15 15 ct = self.get(app_label=app_label, model=model) 16 self._add_to_cache(self.db, ct) 16 17 return ct 17 18 18 19 def _get_opts(self, model):