mirror of
https://github.com/django/django.git
synced 2024-11-29 14:46:18 +01:00
46 lines
1.9 KiB
XML
46 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<django-objects version="1.0">
|
|
<object pk="1" model="admin_views.book">
|
|
<field type="CharField" name="name">Book 1</field>
|
|
</object>
|
|
<object pk="2" model="admin_views.book">
|
|
<field type="CharField" name="name">Book 2</field>
|
|
</object>
|
|
<object pk="1" model="admin_views.promo">
|
|
<field type="CharField" name="name">Promo 1</field>
|
|
<field type="ForeignKey" name="book">1</field>
|
|
</object>
|
|
<object pk="2" model="admin_views.promo">
|
|
<field type="CharField" name="name">Promo 2</field>
|
|
<field type="ForeignKey" name="book">2</field>
|
|
</object>
|
|
<object pk="1" model="admin_views.chapter">
|
|
<field type="CharField" name="title">Chapter 1</field>
|
|
<field type="TextField" name="content">[ insert contents here ]</field>
|
|
<field type="ForeignKey" name="book">1</field>
|
|
</object>
|
|
<object pk="2" model="admin_views.chapter">
|
|
<field type="CharField" name="title">Chapter 2</field>
|
|
<field type="TextField" name="content">[ insert contents here ]</field>
|
|
<field type="ForeignKey" name="book">1</field>
|
|
</object>
|
|
<object pk="3" model="admin_views.chapter">
|
|
<field type="CharField" name="title">Chapter 1</field>
|
|
<field type="TextField" name="content">[ insert contents here ]</field>
|
|
<field type="ForeignKey" name="book">2</field>
|
|
</object>
|
|
<object pk="4" model="admin_views.chapter">
|
|
<field type="CharField" name="title">Chapter 2</field>
|
|
<field type="TextField" name="content">[ insert contents here ]</field>
|
|
<field type="ForeignKey" name="book">2</field>
|
|
</object>
|
|
<object pk="1" model="admin_views.chapterxtra1">
|
|
<field type="CharField" name="xtra">ChapterXtra1 1</field>
|
|
<field type="ForeignKey" name="chap">1</field>
|
|
</object>
|
|
<object pk="2" model="admin_views.chapterxtra1">
|
|
<field type="CharField" name="xtra">ChapterXtra1 2</field>
|
|
<field type="ForeignKey" name="chap">3</field>
|
|
</object>
|
|
</django-objects>
|