mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
This also prevents state modifications from corrupting previous states.
Previously, when a model defining a relation was unregistered first,
clearing the cache would cause its related models' _meta to be cleared
and would result in the old models losing track of their relations.
Backport of 0385dad073 from master
36 KiB
36 KiB