diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-12 20:51:59 +0000 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2011-10-12 20:51:59 +0000 |
| commit | f04af7080b12744c8f06fb8228ef683d556690d0 (patch) | |
| tree | ec7d4098b18c1dec978293b08f08df60eecd1ada /tests/regressiontests/admin_scripts/complex_app | |
| parent | a5e691e5de3bededca32ec8d9d997abae5ca81c9 (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
