1
0
mirror of https://github.com/django/django.git synced 2024-11-18 07:26:04 +00:00
django/tests/fixtures_regress/fixtures/nk-inheritance2.xml
2013-02-26 14:36:57 +01:00

23 lines
870 B
XML

<?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
<object pk="2" model="fixtures_regress.parent">
<field type="CharField" name="name">james</field>
</object>
<object pk="2" model="fixtures_regress.nkchild">
<field type="CharField" name="data">banana</field>
</object>
<object pk="2" model="fixtures_regress.reftonkchild">
<field type="CharField" name="text">other text</field>
<field to="fixtures_regress.nkchild" name="nk_fk" rel="ManyToOneRel">
<natural>apple</natural>
</field>
<field to="fixtures_regress.nkchild" name="nk_m2m" rel="ManyToManyRel">
<object>
<natural>banana</natural>
</object>
<object>
<natural>apple</natural>
</object>
</field>
</object>
</django-objects>