Don't show banners on login/register pages.
[wolnelektury.git] / src / catalogue / fixtures / test-books.yaml
1
2 - model: catalogue.book
3   pk: 1
4   fields:
5     slug: parent
6     title: Parent
7     sort_key: parent
8     sort_key_author: john doe
9     xml_file: xml/parent.xml
10     epub_file: epub/parent.epub
11     mobi_file: mobi/parent.mobi
12     pdf_file: pdf/parent.pdf
13     cover: cover/parent.jpg
14     cover_api_thumb: cover_api_thumb/parent.jpg
15     simple_cover: simple_cover/parent.jpg
16     cover_thumb: cover_thumb/parent.jpg
17     recommended: true
18     created_at: "1970-01-03 0:0Z"
19     changed_at: "1970-01-03 0:0Z"
20     extra_info: '{"epoch": "Barok"}'
21 - model: catalogue.book
22   pk: 2
23   fields:
24     slug: child
25     title: Child
26     sort_key: child
27     parent: 1
28     created_at: "1970-01-02 0:0Z"
29     changed_at: "1970-01-02 0:0Z"
30 - model: catalogue.book
31   pk: 3
32   fields:
33     slug: grandchild
34     title: Grandchild
35     sort_key: grandchild
36     parent: 2
37     xml_file: xml/grandchild.xml
38     txt_file: txt/grandchild.txt
39     html_file: html/grandchild.html
40     epub_file: epub/grandchild.epub
41     mobi_file: mobi/grandchild.mobi
42     pdf_file: pdf/grandchild.pdf
43     fb2_file: fb2/grandchild.fb2
44     created_at: "1970-01-01 0:0Z"
45     changed_at: "1970-01-01 0:0Z"
46
47 - model: catalogue.tag
48   pk: 1
49   fields:
50     slug: john-doe
51     sort_key: john doe
52     category: author
53     name: John Doe
54     created_at: "1970-01-03 0:0Z"
55     changed_at: "1970-01-03 0:0Z"
56 - model: catalogue.tag
57   pk: 2
58   fields:
59     slug: liryka
60     sort_key: liryka
61     category: kind
62     name: Liryka
63     created_at: "1970-01-03 0:0Z"
64     changed_at: "1970-01-03 0:0Z"
65 - model: catalogue.tag
66   pk: 3
67   fields:
68     slug: barok
69     sort_key: barok
70     category: epoch
71     name: Barok
72     created_at: "1970-01-03 0:0Z"
73     changed_at: "1970-01-03 0:0Z"
74 - model: catalogue.tag
75   pk: 4
76   fields:
77     slug: sonet
78     sort_key: sonet
79     category: genre
80     name: Sonet
81     created_at: "1970-01-03 0:0Z"
82     changed_at: "1970-01-03 0:0Z"
83 - model: catalogue.tag
84   pk: 5
85   fields:
86     slug: wiersz
87     sort_key: wiersz
88     category: genre
89     name: Wiersz
90     created_at: "1970-01-03 0:0Z"
91     changed_at: "1970-01-03 0:0Z"
92
93
94 - model: catalogue.tagrelation
95   fields:
96     tag: 1
97     content_type: ['catalogue', 'book']
98     object_id: 1
99 - model: catalogue.tagrelation
100   fields:
101     tag: 2
102     content_type: ['catalogue', 'book']
103     object_id: 1
104 - model: catalogue.tagrelation
105   fields:
106     tag: 3
107     content_type: ['catalogue', 'book']
108     object_id: 1
109 - model: catalogue.tagrelation
110   fields:
111     tag: 4
112     content_type: ['catalogue', 'book']
113     object_id: 1
114 - model: catalogue.tagrelation
115   fields:
116     tag: 4
117     content_type: ['catalogue', 'book']
118     object_id: 3
119 - model: catalogue.tagrelation
120   fields:
121     tag: 5
122     content_type: ['catalogue', 'book']
123     object_id: 2
124
125 - model: catalogue.bookmedia
126   fields:
127     book: 1
128     type: mp3
129     name: Parent Audiobook
130     file: mp3/parent.mp3
131     uploaded_at: "1970-01-03 0:0Z"
132     extra_info: '{"director_name": "Director", "artist_name": "Artist"}'
133 - model: catalogue.bookmedia
134   fields:
135     book: 1
136     type: daisy
137     name: Parent DAISY
138     file: daisy/parent.daisy
139     uploaded_at: "1970-01-03 0:0Z"
140
141 - model: catalogue.fragment
142   pk: 1
143   fields:
144     short_text: "Fragment"
145     text: "A fragment"
146     anchor: "an-anchor"
147     book: 2
148 - model: catalogue.tagrelation
149   fields:
150     tag: 5
151     content_type: ['catalogue', 'fragment']
152     object_id: 1
153 - model: catalogue.tag
154   pk: 101
155   fields:
156     slug: koniec
157     sort_key: koniec
158     category: theme
159     name: Koniec
160     created_at: "1970-01-03 0:0Z"
161     changed_at: "1970-01-03 0:0Z"
162 - model: catalogue.tagrelation
163   fields:
164     tag: 101
165     content_type: ['catalogue', 'fragment']
166     object_id: 1
167
168 - model: catalogue.collection
169   fields:
170     title: A Collection
171     slug: a-collection
172     description: Description
173     book_slugs: parent
174