summaryrefslogtreecommitdiff
path: root/tests/utils_tests/test_lazyobject.py
diff options
context:
space:
mode:
authorMarten Kenbeek <marten.knbk@gmail.com>2015-02-22 04:26:17 +0100
committerMarkus Holtermann <info@markusholtermann.eu>2015-03-08 13:54:49 +0100
commit888c9b6429a44824078a49fb1ebacf2e950cd887 (patch)
treeb5265563422cb78a857453626b158ac88b13d2c3 /tests/utils_tests/test_lazyobject.py
parent180f75c2a0d15e54a7088bd5cb7a57342da5661d (diff)
Fixed #24397 -- Sped up rendering multiple model states.
Set apps.ready to False when rendering multiple models. This prevents that the cache on Model._meta is expired on all models after each time a single model is rendered. Prevented that Apps.clear_cache() refills the cache on Apps.get_models(), so that the wrong value cannot be cached when cloning a StateApps.
Diffstat (limited to 'tests/utils_tests/test_lazyobject.py')
0 files changed, 0 insertions, 0 deletions