diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-03-10 23:32:28 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2008-03-10 23:32:28 +0000 |
| commit | 42712048d363532469cbeff1b0b6a1734c5be5fe (patch) | |
| tree | debf1f7f241a10a3cc8b5b0e25cf0a055051ee35 /docs | |
| parent | 50bf56767531e1f29e000d039237ad1149d46bad (diff) | |
Beefed up caching of ContentType lookups by adding ContentType.objects.get_for_id(). This shares the same cache as get_for_model(), and thus things that do lots of ctype lookups by ID will benefit. Refs #5570.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
