mirror of
https://github.com/django/django.git
synced 2025-02-05 06:56:53 +00:00
0385dad073
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.