Opened 11 years ago

Closed 11 years ago

#19998 closed Bug (fixed)

loaddata --ignorenonexistent not working for XML based fixtures

Reported by: sigi Owned by: sigi
Component: Core (Serialization) Version: dev
Severity: Normal Keywords: fixtures
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

The new --ignorenonexistent commandline argument for loaddata is not working with XML based fixtures, because there is
no code for it in django.core.serializers.xml_serializer.Deserializer.

The patch adds code for ignoring nonexistent fields and a small test.

Change History (5)

comment:2 by sigi, 11 years ago

Version: 1.5master

comment:3 by sigi, 11 years ago

Owner: changed from nobody to sigi
Status: newassigned

comment:4 by Jacob, 11 years ago

Triage Stage: UnreviewedAccepted

comment:5 by Florian Apolloner <florian@…>, 11 years ago

Resolution: fixed
Status: assignedclosed

In 465b01f065a8482bfa42c19e3854a3c810e69d33:

Fixed #19998 -- Fixed --ignorenonexistent support for XML based fixtures.

Note: See TracTickets for help on using tickets.
Back to Top