mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #24513 -- Made sure a model is only rendered once during reloads
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.
This commit is contained in:
committed by
Markus Holtermann
parent
7a7c797234
commit
0385dad073
@@ -25,3 +25,6 @@ Bugfixes
|
||||
* Stripped microseconds from ``datetime`` values when using an older version of
|
||||
the MySQLdb DB API driver as it does not support fractional seconds
|
||||
(:ticket:`24584`).
|
||||
|
||||
* Fixed a migration crash when altering
|
||||
:class:`~django.db.models.ManyToManyField`\s (:ticket:`24513`).
|
||||
|
||||
Reference in New Issue
Block a user