#36343: Uprading to Django 5.2 from Django 5.1.7 creates a new migration for a
self
referencing through model
---------------------------------+--------------------------------------
Reporter: Mark Chackerian | Owner: (none)
Type: Uncategorized | Status: closed
Component: Uncategorized | Version: 5.2
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Simon Charette):
* resolution: => invalid
* status: new => closed
Comment:
Thank you for your report, it is effectively intended.
Prior to Django 5.2 there was a bug that prevented the appropriate
tracking of `through_fields` in migrations #36061
(b13b8684a04d0bc1081104c5973c62c27dc673b0) which could cause crashes or
data corruptions if the involved models were used in data migrations (e.g.
through `RunPython`).
We don't document bug fixes in release notes hence why you couldn't find
it.
--
Ticket URL: <https://code.djangoproject.com/ticket/36343#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019658c6956f-afa52dc5-a2a2-43c0-9459-f3d5fdbd5fc8-000000%40eu-central-1.amazonses.com.