PageRenderTime 423ms CodeModel.GetById 251ms app.highlight 2ms RepoModel.GetById 169ms app.codeStats 0ms

/tests/regressiontests/admin_views/fixtures/deleted-objects.xml

https://code.google.com/p/mango-py/
XML | 53 lines | 53 code | 0 blank | 0 comment | 0 complexity | 2b08f9ac657eaf5e262206eff9f9664b MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<django-objects version="1.0">
 3    <object pk="1" model="admin_views.villain">
 4        <field type="CharField" name="name">Adam</field>
 5    </object>
 6    <object pk="2" model="admin_views.villain">
 7        <field type="CharField" name="name">Sue</field>
 8    </object>
 9    <object pk="3" model="admin_views.villain">
10        <field type="CharField" name="name">Bob</field>
11    </object>
12    <object pk="3" model="admin_views.supervillain">
13    </object>
14    <object pk="1" model="admin_views.plot">
15        <field type="CharField" name="name">World Domination</field>
16        <field type="ForeignKey" name="team_leader">1</field>
17        <field type="ForeignKey" name="contact">2</field>
18    </object>
19    <object pk="2" model="admin_views.plot">
20        <field type="CharField" name="name">World Peace</field>
21        <field type="ForeignKey" name="team_leader">2</field>
22        <field type="ForeignKey" name="contact">2</field>
23    </object>
24    <object pk="1" model="admin_views.plotdetails">
25        <field type="CharField" name="details">almost finished</field>
26        <field type="ForeignKey" name="plot">1</field>
27    </object>
28    <object pk="1" model="admin_views.secrethideout">
29        <field type="CharField" name="location">underground bunker</field>
30        <field type="ForeignKey" name="villain">1</field>
31    </object>
32    <object pk="2" model="admin_views.secrethideout">
33        <field type="CharField" name="location">floating castle</field>
34        <field type="ForeignKey" name="villain">3</field>
35    </object>
36    <object pk="1" model="admin_views.supersecrethideout">
37        <field type="CharField" name="location">super floating castle!</field>
38        <field type="ForeignKey" name="supervillain">3</field>
39    </object>
40    <object pk="1" model="admin_views.cyclicone">
41        <field type="CharField" name="name">I am recursive</field>
42        <field type="ForeignKey" name="two">1</field>
43    </object>
44    <object pk="1" model="admin_views.cyclictwo">
45        <field type="CharField" name="name">I am recursive too</field>
46        <field type="ForeignKey" name="one">1</field>
47    </object>
48    <object pk="3" model="admin_views.plot">
49        <field type="CharField" name="name">Corn Conspiracy</field>
50        <field type="ForeignKey" name="team_leader">1</field>
51        <field type="ForeignKey" name="contact">1</field>
52    </object>
53</django-objects>