parts/django/tests/regressiontests/fixtures_regress/fixtures/nk-inheritance2.xml
changeset 307 c6bca38c1cbf
equal deleted inserted replaced
306:5ff1fc726848 307:c6bca38c1cbf
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <django-objects version="1.0">
       
     3     <object pk="2" model="fixtures_regress.parent">
       
     4         <field type="CharField" name="name">james</field>
       
     5     </object>
       
     6     <object pk="2" model="fixtures_regress.nkchild">
       
     7         <field type="CharField" name="data">banana</field>
       
     8     </object>
       
     9     <object pk="2" model="fixtures_regress.reftonkchild">
       
    10         <field type="CharField" name="text">other text</field>
       
    11         <field to="fixtures_regress.nkchild" name="nk_fk" rel="ManyToOneRel">
       
    12             <natural>apple</natural>
       
    13         </field>
       
    14         <field to="fixtures_regress.nkchild" name="nk_m2m" rel="ManyToManyRel">
       
    15             <object>
       
    16                 <natural>banana</natural>
       
    17             </object>
       
    18             <object>
       
    19                 <natural>apple</natural>
       
    20             </object>
       
    21         </field>
       
    22     </object>
       
    23 </django-objects>