PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 39ms app.codeStats 0ms

/tests/modeltests/fixtures/fixtures/fixture9.xml

https://code.google.com/p/mango-py/
XML | 48 lines | 48 code | 0 blank | 0 comment | 0 complexity | e3661057a3dd65975f745b4ffed97cac MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<django-objects version="1.0">
 3    <object pk="2" model="fixtures.visa">
 4        <field type="CharField" name="person">
 5            <natural>Stephane Grappelli</natural>
 6        </field>
 7        <field to="auth.permission" name="permissions" rel="ManyToManyRel">
 8            <object>
 9                <natural>add_user</natural>
10                <natural>auth</natural>
11                <natural>user</natural>
12            </object>
13            <object>
14                <natural>delete_user</natural>
15                <natural>auth</natural>
16                <natural>user</natural>
17            </object>
18        </field>
19    </object>
20    <object pk="3" model="fixtures.person">
21        <field type="CharField" name="name">
22            <natural>Artist formerly known as &quot;Prince&quot;</natural>
23        </field>
24    </object>
25    <object pk="3" model="fixtures.visa">
26        <field type="CharField" name="person">
27            <natural>Artist formerly known as &quot;Prince&quot;</natural>
28        </field>
29        <field to="auth.permission" name="permissions" rel="ManyToManyRel">
30            <object>
31                <natural>change_user</natural>
32                <natural>auth</natural>
33                <natural>user</natural>
34            </object>
35        </field>
36    </object>
37    <object pk="1" model="fixtures.book">
38        <field type="CharField" name="name">Music for all ages</field>
39        <field to="fixtures.person" name="authors" rel="ManyToManyRel">
40            <object>
41                <natural>Django Reinhardt</natural>
42            </object>
43            <object>
44                <natural>Artist formerly known as &quot;Prince&quot;</natural>
45            </object>
46        </field>
47    </object>
48</django-objects>