From 9f632dc702a1b8b4c8044fb34bb3d5f2445dd4ee Mon Sep 17 00:00:00 2001 From: Patryk Zawadzki Date: Fri, 3 Apr 2015 23:36:35 +0200 Subject: [1.8.x] 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. Backport of 0385dad073270c37f8c4a5f13edce43f2a69ba8a from master --- docs/releases/1.8.1.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs') diff --git a/docs/releases/1.8.1.txt b/docs/releases/1.8.1.txt index 65d32f190c..ac986b3fc0 100644 --- a/docs/releases/1.8.1.txt +++ b/docs/releases/1.8.1.txt @@ -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`). -- cgit v1.3