summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts/complex_app
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2011-10-12 20:51:59 +0000
committerAlex Gaynor <alex.gaynor@gmail.com>2011-10-12 20:51:59 +0000
commitf04af7080b12744c8f06fb8228ef683d556690d0 (patch)
treeec7d4098b18c1dec978293b08f08df60eecd1ada /tests/regressiontests/admin_scripts/complex_app
parenta5e691e5de3bededca32ec8d9d997abae5ca81c9 (diff)
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
Diffstat (limited to 'tests/regressiontests/admin_scripts/complex_app')
0 files changed, 0 insertions, 0 deletions