mirror of
https://github.com/django/django.git
synced 2025-03-06 23:42:33 +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.