mirror of
https://github.com/django/django.git
synced 2025-11-17 02:24:22 +00:00
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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| config.py | ||
| registry.py | ||