Invalidate internal caches when INSTALLED_APPS changes
|Reported by:||aaugustin||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
We should review all calls to apps.get_apps_configs and check if the result gets cached, either by the caller or one of its callers, recursively.
When results are cached, the cache should be invalidated when INSTALLED_APPS changes.
(Filed under "testing" because that's the only situation where it's legal to change settings and the changes go in django.test.signals.)