#26291: loaddata cannot deserialize fixtures with forward references and natural
foreign keys
-------------------------------------+-------------------------------------
     Reporter:  inglesp              |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Component:  Core                 |                  Version:  1.9
  (Serialization)                    |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by inglesp):

 Thanks for the review -- I've replied on the PR.

 I think the only functionality question that needs to be resolved is
 whether `django.core.serializers.python.Deserializer` has a
 `handle_forward_references` option that defaults to `False`.  That was
 there for backwards compatibility, but it's probably not necessary, so
 I'll remove.

 There are some documentation changes required -- I'll work on those in the
 next few days.

 Also, I did look into improving `sort_dependencies` to output fixtures in
 an order that has no forward references (ignoring circular references),
 but I think it's fiddly to do efficiently.

--
Ticket URL: <https://code.djangoproject.com/ticket/26291#comment:5>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.4d44536b90ab0ea2060e9ec39002eb70%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to