#31051: Serialization dependency sorting disallows circular references
unneccesarily.
-------------------------------------+-------------------------------------
Reporter: Matthijs Kooijman | Owner: Matthijs
| Kooijman
Type: Bug | Status: closed
Component: Core | Version: master
(Serialization) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"4f216e4f8ea9bac61948cb63066cd4747f6d05fb" 4f216e4f]:
{{{
#!CommitTicketReference repository=""
revision="4f216e4f8ea9bac61948cb63066cd4747f6d05fb"
Fixed #31051 -- Allowed dumpdata to handle circular references in natural
keys.
Since #26291 forward references in natural keys are properly handled by
loaddata, so sorting depenencies in dumpdata doesn't need to break on
cycles. This patch allows circular references in natural keys by
breaking sort_depenencies() on loops.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31051#comment:11>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/074.5b4c3bc0a36be91b69d76b4ed55d433f%40djangoproject.com.