parts/django/tests/regressiontests/fixtures_regress/fixtures/non_natural_2.xml
author Nishanth Amuluru <nishanth@fossee.in>
Sun, 09 Jan 2011 20:26:11 +0530
changeset 368 a4fa11b2cb5c
parent 307 c6bca38c1cbf
permissions -rw-r--r--
add textbook works fine

<?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
    <object pk="22" model="fixtures_regress.person">
        <field type="CharField" name="name">Orson Scott Card</field>
    </object>
    <object pk="21" model="fixtures_regress.store">
        <field type="CharField" name="name">Collins Bookstore</field>
    </object>
    <object pk="20" model="fixtures_regress.book">
        <field type="CharField" name="name">Ender's Game</field>
        <field to="fixtures_regress.person" name="author" rel="ManyToOneRel">22</field>
        <field to="fixtures_regress.store" name="stores" rel="ManyToManyRel">
            <object pk="21"/>
        </field>
    </object>
</django-objects>