Ticket #17256: 17107.patch

File 17107.patch, 502 bytes (added by defaultwombat, 13 years ago)

patch for svn r17107

  • django/contrib/contenttypes/models.py

     
    1313            ct = self.__class__._cache[self.db][(app_label, model)]
    1414        except KeyError:
    1515            ct = self.get(app_label=app_label, model=model)
     16            self._add_to_cache(self.db, ct)
    1617        return ct
    1718
    1819    def _get_opts(self, model):
Back to Top