PageRenderTime 202ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 38ms app.codeStats 20ms

/tests/regressiontests/admin_views/fixtures/admin-views-books.xml

https://code.google.com/p/mango-py/
XML | 45 lines | 45 code | 0 blank | 0 comment | 0 complexity | 78206660b8c04f9db99f4036f8aafd43 MD5 | raw file
 1<?xml version="1.0" encoding="utf-8"?>
 2<django-objects version="1.0">
 3  <object pk="1" model="admin_views.book">
 4    <field type="CharField" name="name">Book 1</field>
 5  </object>
 6  <object pk="2" model="admin_views.book">
 7    <field type="CharField" name="name">Book 2</field>
 8  </object>
 9  <object pk="1" model="admin_views.promo">
10    <field type="CharField" name="name">Promo 1</field>
11    <field type="ForiegnKey" name="book">1</field>
12  </object>
13  <object pk="2" model="admin_views.promo">
14    <field type="CharField" name="name">Promo 2</field>
15    <field type="ForiegnKey" name="book">2</field>
16  </object>
17  <object pk="1" model="admin_views.chapter">
18    <field type="CharField" name="title">Chapter 1</field>
19    <field type="TextField" name="content">[ insert contents here ]</field>
20    <field type="ForiegnKey" name="book">1</field>
21  </object>
22  <object pk="2" model="admin_views.chapter">
23    <field type="CharField" name="title">Chapter 2</field>
24    <field type="TextField" name="content">[ insert contents here ]</field>
25    <field type="ForiegnKey" name="book">1</field>
26  </object>
27  <object pk="3" model="admin_views.chapter">
28    <field type="CharField" name="title">Chapter 1</field>
29    <field type="TextField" name="content">[ insert contents here ]</field>
30    <field type="ForiegnKey" name="book">2</field>
31  </object>
32  <object pk="4" model="admin_views.chapter">
33    <field type="CharField" name="title">Chapter 2</field>
34    <field type="TextField" name="content">[ insert contents here ]</field>
35    <field type="ForiegnKey" name="book">2</field>
36  </object>
37  <object pk="1" model="admin_views.chapterxtra1">
38    <field type="CharField" name="xtra">ChapterXtra1 1</field>
39    <field type="ForiegnKey" name="chap">1</field>
40  </object>
41  <object pk="2" model="admin_views.chapterxtra1">
42    <field type="CharField" name="xtra">ChapterXtra1 2</field>
43    <field type="ForiegnKey" name="chap">3</field>
44  </object>
45</django-objects>