Skip to content
Commit f04af708 authored by Alex Gaynor's avatar Alex Gaynor
Browse files

Introduce `ContentType.objects.get_for_models(*models)` and use it in the the...

Introduce `ContentType.objects.get_for_models(*models)` and use it in the the auth permissions code.  This is a solid performance gain on the test suite.  Thanks to ptone for the profiling to find this hotspot, and carl for the review.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16963 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent a5e691e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment