1[
2{
3    "pk": 1,
4    "model": "wagtailcore.page",
5    "fields": {
6        "title": "Root",
7        "draft_title": "Root",
8        "numchild": 2,
9        "show_in_menus": false,
10        "live": true,
11        "depth": 1,
12        "content_type": [
13            "wagtailcore",
14            "page"
15        ],
16        "path": "0001",
17        "url_path": "/",
18        "slug": "root"
19    }
20},
21
22{
23    "pk": 2,
24    "model": "wagtailcore.page",
25    "fields": {
26        "title": "Welcome to the Wagtail test site!",
27        "draft_title": "Welcome to the Wagtail test site!",
28        "numchild": 9,
29        "show_in_menus": false,
30        "live": true,
31        "depth": 2,
32        "content_type": ["wagtailcore", "page"],
33        "path": "00010001",
34        "url_path": "/home/",
35        "slug": "home",
36        "first_published_at": "2014-01-01T12:00:00.000Z",
37        "last_published_at": "2014-02-01T12:00:00.000Z"
38    }
39},
40{
41    "pk": 3,
42    "model": "wagtailcore.page",
43    "fields": {
44        "title": "Events",
45        "draft_title": "Events",
46        "numchild": 6,
47        "show_in_menus": true,
48        "live": true,
49        "depth": 3,
50        "content_type": ["tests", "eventindex"],
51        "path": "000100010001",
52        "url_path": "/home/events/",
53        "slug": "events"
54    }
55},
56{
57    "pk": 3,
58    "model": "tests.eventindex",
59    "fields": {
60        "intro": "Look at our lovely events."
61    }
62},
63
64{
65    "pk": 4,
66    "model": "wagtailcore.page",
67    "fields": {
68        "title": "Christmas",
69        "draft_title": "Christmas",
70        "numchild": 0,
71        "show_in_menus": true,
72        "live": true,
73        "depth": 4,
74        "content_type": ["tests", "eventpage"],
75        "path": "0001000100010001",
76        "url_path": "/home/events/christmas/",
77        "slug": "christmas",
78        "owner": 2
79    }
80},
81{
82    "pk": 4,
83    "model": "tests.eventpage",
84    "fields": {
85        "date_from": "2014-12-25",
86        "audience": "public",
87        "location": "The North Pole",
88        "body": "<p>Chestnuts roasting on an open fire</p>",
89        "cost": "Free",
90        "feed_image": 1
91    }
92},
93
94{
95    "pk": 13,
96    "model": "wagtailcore.page",
97    "fields": {
98        "title": "Saint Patrick",
99        "draft_title": "Saint Patrick",
100        "numchild": 0,
101        "show_in_menus": true,
102        "live": true,
103        "depth": 4,
104        "content_type": ["tests", "singleeventpage"],
105        "path": "0001000100010005",
106        "url_path": "/home/events/saint-patrick/",
107        "slug": "saint-patrick",
108        "owner": 2
109    }
110},
111{
112    "pk": 13,
113    "model": "tests.eventpage",
114    "fields": {
115        "date_from": "2014-12-25",
116        "audience": "private",
117        "location": "Wellington",
118        "body": "<p>The day when nothing makes sense.</p>",
119        "cost": "Semi-free"
120    }
121},
122{
123    "pk": 13,
124    "model": "tests.singleeventpage",
125    "fields": {
126        "excerpt": "A little tiny excerpt for Saint Patrick."
127    }
128},
129
130{
131    "pk": 1,
132    "model": "tests.eventpagespeaker",
133    "fields": {
134        "page": 4,
135        "first_name": "Father",
136        "last_name": "Christmas",
137        "sort_order": 0
138    }
139},
140
141{
142    "pk": 5,
143    "model": "wagtailcore.page",
144    "fields": {
145        "title": "Tentative Unpublished Event",
146        "draft_title": "Tentative Unpublished Event",
147        "numchild": 0,
148        "show_in_menus": true,
149        "live": false,
150        "depth": 4,
151        "content_type": ["tests", "eventpage"],
152        "path": "0001000100010002",
153        "url_path": "/home/events/tentative-unpublished-event/",
154        "slug": "tentative-unpublished-event",
155        "owner": 2
156    }
157},
158{
159    "pk": 5,
160    "model": "tests.eventpage",
161    "fields": {
162        "date_from": "2015-07-04",
163        "audience": "public",
164        "location": "The moon",
165        "body": "<p>I haven't worked out the details yet, but it's going to have cake and ponies</p>",
166        "cost": "Free"
167    }
168},
169
170{
171    "pk": 6,
172    "model": "wagtailcore.page",
173    "fields": {
174        "title": "Someone Else's Event",
175        "draft_title": "Someone Else's Event",
176        "numchild": 0,
177        "show_in_menus": true,
178        "live": false,
179        "depth": 4,
180        "content_type": ["tests", "eventpage"],
181        "path": "0001000100010003",
182        "url_path": "/home/events/someone-elses-event/",
183        "slug": "someone-elses-event",
184        "owner": 3
185    }
186},
187{
188    "pk": 6,
189    "model": "tests.eventpage",
190    "fields": {
191        "date_from": "2015-07-04",
192        "audience": "private",
193        "location": "The moon",
194        "body": "<p>your name's not down, you're not coming in</p>",
195        "cost": "Free (but not for you)"
196    }
197},
198
199{
200    "pk": 7,
201    "model": "wagtailcore.page",
202    "fields": {
203        "title": "About us",
204        "draft_title": "About us",
205        "numchild": 0,
206        "show_in_menus": true,
207        "live": true,
208        "depth": 3,
209        "content_type": ["tests", "simplepage"],
210        "path": "000100010002",
211        "url_path": "/home/about-us/",
212        "slug": "about-us",
213        "first_published_at": "2014-01-01T12:00:00.000Z",
214        "last_published_at": "2014-02-01T12:00:00.000Z"
215    }
216},
217{
218    "pk": 7,
219    "model": "tests.simplepage",
220    "fields": {
221        "content": "<p>We are really good.</p>"
222    }
223},
224
225{
226    "pk": 8,
227    "model": "wagtailcore.page",
228    "fields": {
229        "title": "Contact us",
230        "draft_title": "Contact us",
231        "numchild": 0,
232        "show_in_menus": true,
233        "live": true,
234        "depth": 3,
235        "content_type": ["tests", "formpage"],
236        "path": "000100010003",
237        "url_path": "/home/contact-us/",
238        "slug": "contact-us"
239    }
240},
241{
242    "pk": 8,
243    "model": "tests.formpage",
244    "fields": {
245        "to_address": "to@email.com",
246        "from_address": "from@email.com",
247        "subject": "The subject"
248    }
249},
250
251{
252    "pk": 9,
253    "model": "wagtailcore.page",
254    "fields": {
255        "title": "Ameristralia Day",
256        "draft_title": "Ameristralia Day",
257        "numchild": 0,
258        "show_in_menus": true,
259        "live": true,
260        "depth": 4,
261        "content_type": ["tests", "eventpage"],
262        "path": "0001000100010004",
263        "url_path": "/home/events/final-event/",
264        "slug": "final-event",
265        "owner": 3
266    }
267},
268{
269    "pk": 9,
270    "model": "tests.eventpage",
271    "fields": {
272        "date_from": "2015-04-22",
273        "audience": "public",
274        "location": "Ameristralia",
275        "body": "<p>come celebrate the independence of Ameristralia <embed embedtype=\"image\" format=\"fullwidth\" id=\"1\" alt=\"where did my image go?\" /></p>",
276        "cost": "Free"
277    }
278},
279
280{
281    "pk": 1,
282    "model": "tests.formfield",
283    "fields": {
284        "clean_name": "your_email",
285        "sort_order": 1,
286        "label": "Your email",
287        "field_type": "email",
288        "required": true,
289        "choices": "",
290        "default_value": "",
291        "help_text": "",
292        "page": 8
293    }
294},
295{
296    "pk": 2,
297    "model": "tests.formfield",
298    "fields": {
299        "clean_name": "your_message",
300        "sort_order": 2,
301        "label": "Your message",
302        "field_type": "multiline",
303        "required": true,
304        "choices": "",
305        "default_value": "",
306        "help_text": "",
307        "page": 8
308    }
309},
310{
311    "pk": 3,
312    "model": "tests.formfield",
313    "fields": {
314        "clean_name": "your_choices",
315        "sort_order": 3,
316        "label": "Your choices",
317        "field_type": "checkboxes",
318        "required": false,
319        "choices": "foo,bar,baz",
320        "default_value": "",
321        "help_text": "",
322        "page": 8
323    }
324},
325
326{
327    "pk": 10,
328    "model": "wagtailcore.page",
329    "fields": {
330        "title": "Old style route method",
331        "draft_title": "Old style route method",
332        "numchild": 0,
333        "show_in_menus": true,
334        "live": true,
335        "depth": 3,
336        "content_type": ["tests", "pagewitholdstyleroutemethod"],
337        "path": "000100010004",
338        "url_path": "/home/old-style-route/",
339        "slug": "old-style-route"
340    }
341},
342{
343    "pk": 10,
344    "model": "tests.pagewitholdstyleroutemethod",
345    "fields": {
346        "content": "<p>Test with old style route method</p>"
347    }
348},
349
350{
351    "pk": 11,
352    "model": "wagtailcore.page",
353    "fields": {
354        "title": "Secret plans",
355        "draft_title": "Secret plans",
356        "numchild": 1,
357        "show_in_menus": true,
358        "live": true,
359        "depth": 3,
360        "content_type": ["tests", "simplepage"],
361        "path": "000100010005",
362        "url_path": "/home/secret-plans/",
363        "slug": "secret-plans"
364    }
365},
366{
367    "pk": 11,
368    "model": "tests.simplepage",
369    "fields": {
370        "content": "<p>muahahahaha</p>"
371    }
372},
373
374{
375    "pk": 12,
376    "model": "wagtailcore.page",
377    "fields": {
378        "title": "Steal underpants",
379        "draft_title": "Steal underpants",
380        "numchild": 0,
381        "show_in_menus": true,
382        "live": true,
383        "depth": 4,
384        "content_type": ["tests", "eventpage"],
385        "path": "0001000100050001",
386        "url_path": "/home/secret-plans/steal-underpants/",
387        "slug": "steal-underpants"
388    }
389},
390{
391    "pk": 12,
392    "model": "tests.eventpage",
393    "fields": {
394        "date_from": "2015-07-04",
395        "audience": "private",
396        "location": "Marks and Spencer",
397        "body": "<p>meet in the menswear department at noon</p>",
398        "cost": "free"
399    }
400},
401{
402    "pk": 14,
403    "model": "wagtailcore.page",
404    "fields": {
405        "title": "My locked page",
406        "draft_title": "My locked page",
407        "numchild": 0,
408        "show_in_menus": true,
409        "live": true,
410        "depth": 3,
411        "content_type": ["wagtailcore", "page"],
412        "path": "000100010006",
413        "url_path": "/home/my-locked-page/",
414        "slug": "my-locked-page",
415        "locked": true
416    }
417},
418{
419    "pk": 15,
420    "model": "wagtailcore.page",
421    "fields": {
422        "title": "Businessy events",
423        "draft_title": "Businessy events",
424        "numchild": 1,
425        "show_in_menus": true,
426        "live": false,
427        "depth": 4,
428        "content_type": ["tests", "businessindex"],
429        "path": "0001000100010006",
430        "url_path": "/home/events/businessy-events/",
431        "slug": "businessy-events",
432        "owner": 2
433    }
434},
435{
436    "pk": 15,
437    "model": "tests.businessindex",
438    "fields": {
439    }
440},
441
442{
443    "pk": 16,
444    "model": "wagtailcore.page",
445    "fields": {
446        "title": "Board meetings",
447        "draft_title": "Board meetings",
448        "numchild": 0,
449        "show_in_menus": true,
450        "live": false,
451        "depth": 5,
452        "content_type": ["tests", "businesssubindex"],
453        "path": "00010001000100060001",
454        "url_path": "/home/events/businessy-events/board-meetings/",
455        "slug": "board-meetings",
456        "owner": 2
457    }
458},
459{
460    "pk": 16,
461    "model": "tests.businesssubindex",
462    "fields": {
463    }
464},
465
466{
467    "pk": 17,
468    "model": "wagtailcore.page",
469    "fields": {
470        "title": "Contact us one more time",
471        "draft_title": "Contact us one more time",
472        "numchild": 0,
473        "show_in_menus": true,
474        "live": true,
475        "depth": 3,
476        "content_type": ["tests", "formpagewithcustomsubmission"],
477        "path": "000100010007",
478        "url_path": "/home/contact-us-one-more-time/",
479        "slug": "contact-us-one-more-time"
480    }
481},
482{
483    "pk": 17,
484    "model": "tests.formpagewithcustomsubmission",
485    "fields": {
486        "to_address": "to@email.com",
487        "from_address": "from@email.com",
488        "subject": "The subject"
489    }
490},
491{
492    "pk": 1,
493    "model": "tests.formfieldwithcustomsubmission",
494    "fields": {
495        "clean_name": "",
496        "sort_order": 1,
497        "label": "Your email",
498        "field_type": "email",
499        "required": true,
500        "choices": "",
501        "default_value": "",
502        "help_text": "",
503        "page": 17
504    }
505},
506{
507    "pk": 2,
508    "model": "tests.formfieldwithcustomsubmission",
509    "fields": {
510        "clean_name": "",
511        "sort_order": 2,
512        "label": "Your message",
513        "field_type": "multiline",
514        "required": true,
515        "choices": "",
516        "default_value": "",
517        "help_text": "",
518        "page": 17
519    }
520},
521{
522    "pk": 3,
523    "model": "tests.formfieldwithcustomsubmission",
524    "fields": {
525        "clean_name": "",
526        "sort_order": 3,
527        "label": "Your choices",
528        "field_type": "checkboxes",
529        "required": false,
530        "choices": "foo,bar,baz",
531        "default_value": "",
532        "help_text": "",
533        "page": 17
534    }
535},
536{
537    "pk": 1,
538    "model": "tests.customformpagesubmission",
539    "fields": {
540        "form_data": "{\"your-email\": \"old@example.com\", \"your-message\": \"this is a really old message\"}",
541        "user": 2,
542        "page": 17,
543        "submit_time": "2013-01-01T12:00:00.000Z"
544    }
545},
546{
547    "pk": 2,
548    "model": "tests.customformpagesubmission",
549    "fields": {
550        "form_data": "{\"your-email\": \"new@example.com\", \"your-message\": \"this is a fairly new message\"}",
551        "user": 5,
552        "page": 17,
553        "submit_time": "2014-01-01T12:00:00.000Z"
554    }
555},
556{
557    "pk": 18,
558    "model": "wagtailcore.page",
559    "fields": {
560        "title": "Secret event editor plans",
561        "draft_title": "Secret event editor plans",
562        "numchild": 0,
563        "show_in_menus": true,
564        "live": true,
565        "depth": 3,
566        "content_type": ["tests", "simplepage"],
567        "path": "000100010008",
568        "url_path": "/home/secret-event-editor-plans/",
569        "slug": "secret-event-editor-plans"
570    }
571},
572{
573    "pk": 18,
574    "model": "tests.simplepage",
575    "fields": {
576        "content": "<p>let's move Easter to Christmas</p>"
577    }
578},
579{
580    "pk": 19,
581    "model": "wagtailcore.page",
582    "fields": {
583        "title": "Secret login plans",
584        "draft_title": "Secret login plans",
585        "numchild": 0,
586        "show_in_menus": true,
587        "live": true,
588        "depth": 3,
589        "content_type": ["tests", "simplepage"],
590        "path": "000100010009",
591        "url_path": "/home/secret-login-plans/",
592        "slug": "secret-login-plans"
593    }
594},
595{
596    "pk": 19,
597    "model": "tests.simplepage",
598    "fields": {
599        "content": "<p>collect logs</p>"
600    }
601},
602
603{
604    "pk": 20,
605    "model": "wagtailcore.page",
606    "fields": {
607        "title": "This page doesn't get served",
608        "draft_title": "This page doesn't get served",
609        "numchild": 0,
610        "show_in_menus": false,
611        "live": true,
612        "depth": 2,
613        "content_type": ["wagtailcore", "page"],
614        "path": "00010002",
615        "url_path": "/does-not-exist/",
616        "slug": "does-not-exist"
617    }
618},
619
620{
621    "pk": 1,
622    "model": "wagtailcore.site",
623    "fields": {
624        "root_page": 2,
625        "hostname": "localhost",
626        "port": 80,
627        "is_default_site": true
628    }
629},
630
631{
632    "pk": 3,
633    "model": "auth.group",
634    "fields": {
635        "name": "Event editors",
636        "permissions": [
637            ["access_admin", "wagtailadmin", "admin"],
638            ["add_image", "wagtailimages", "image"],
639            ["change_image", "wagtailimages", "image"],
640            ["delete_image", "wagtailimages", "image"]
641        ]
642    }
643},
644{
645    "pk": 4,
646    "model": "auth.group",
647    "fields": {
648        "name": "Event moderators",
649        "permissions": [
650            ["access_admin", "wagtailadmin", "admin"],
651            ["add_image", "wagtailimages", "image"],
652            ["change_image", "wagtailimages", "image"],
653            ["delete_image", "wagtailimages", "image"]
654        ]
655    }
656},
657{
658    "pk": 5,
659    "model": "auth.group",
660    "fields": {
661        "name": "Site-wide editors",
662        "permissions": [
663            ["access_admin", "wagtailadmin", "admin"],
664            ["add_image", "wagtailimages", "image"],
665            ["change_image", "wagtailimages", "image"],
666            ["delete_image", "wagtailimages", "image"]
667        ]
668    }
669},
670{
671    "pk": 6,
672    "model": "auth.group",
673    "fields": {
674        "name": "Admin non-editors",
675        "permissions": [
676            ["access_admin", "wagtailadmin", "admin"]
677        ]
678    }
679},
680{
681    "pk": 7,
682    "model": "auth.group",
683    "fields": {
684        "name": "Corporate Editor",
685        "permissions": [
686            ["access_admin", "wagtailadmin", "admin"],
687            ["add_image", "wagtailimages", "image"],
688            ["change_image", "wagtailimages", "image"],
689            ["delete_image", "wagtailimages", "image"]
690        ]
691    }
692},
693{
694    "pk": 1,
695    "model": "wagtailcore.grouppagepermission",
696    "fields": {
697        "group": ["Event editors"],
698        "page": 3,
699        "permission_type": "add"
700    }
701},
702{
703    "pk": 2,
704    "model": "wagtailcore.grouppagepermission",
705    "fields": {
706        "group": ["Event moderators"],
707        "page": 3,
708        "permission_type": "add"
709    }
710},
711{
712    "pk": 3,
713    "model": "wagtailcore.grouppagepermission",
714    "fields": {
715        "group": ["Event moderators"],
716        "page": 3,
717        "permission_type": "edit"
718    }
719},
720{
721    "pk": 4,
722    "model": "wagtailcore.grouppagepermission",
723    "fields": {
724        "group": ["Event moderators"],
725        "page": 3,
726        "permission_type": "publish"
727    }
728},
729{
730    "pk": 5,
731    "model": "wagtailcore.grouppagepermission",
732    "fields": {
733        "group": ["Site-wide editors"],
734        "page": 2,
735        "permission_type": "edit"
736    }
737},
738{
739    "pk": 6,
740    "model": "wagtailcore.grouppagepermission",
741    "fields": {
742        "group": ["Event moderators"],
743        "page": 3,
744        "permission_type": "lock"
745    }
746},
747{
748    "pk": 7,
749    "model": "wagtailcore.grouppagepermission",
750    "fields": {
751        "group": ["Corporate Editor"],
752        "page": 7,
753        "permission_type": "edit"
754    }
755},
756{
757    "pk": 8,
758    "model": "wagtailcore.grouppagepermission",
759    "fields": {
760        "group": ["Corporate Editor"],
761        "page": 15,
762        "permission_type": "add"
763    }
764},
765{
766    "pk": 9,
767    "model": "wagtailcore.grouppagepermission",
768    "fields": {
769        "group": ["Event moderators"],
770        "page": 3,
771        "permission_type": "unlock"
772    }
773},
774
775{
776    "pk": 1,
777    "model": "wagtailforms.formsubmission",
778    "fields": {
779        "form_data": "{\"your_email\": \"old@example.com\", \"your_message\": \"this is a really old message\"}",
780        "page": 8,
781        "submit_time": "2013-01-01T12:00:00.000Z"
782    }
783},
784{
785    "pk": 2,
786    "model": "wagtailforms.formsubmission",
787    "fields": {
788        "form_data": "{\"your_email\": \"new@example.com\", \"your_message\": \"this is a fairly new message\"}",
789        "page": 8,
790        "submit_time": "2014-01-01T12:00:00.000Z"
791    }
792},
793{
794    "pk": 1,
795    "model": "tests.AdvertPlacement",
796    "fields": {
797        "page": 2,
798        "advert": 1,
799        "colour": "yellow"
800        }
801},
802{
803    "pk": 2,
804    "model": "tests.AdvertPlacement",
805    "fields": {
806        "page": 4,
807        "advert": 1,
808        "colour": "greener than a Christmas tree"
809        }
810},
811{
812    "pk": 1,
813    "model": "tests.advert",
814    "fields": {
815        "text": "test_advert",
816        "url": "http://www.example.com"
817        }
818},
819{
820    "pk": 1,
821    "model": "tests.advertwithtabbedinterface",
822    "fields": {
823        "text": "test_advert",
824        "url": "http://www.example.com",
825        "something_else": "Model with tabbed interface"
826    }
827},
828{
829    "pk": 1,
830    "model": "wagtaildocs.Document",
831    "fields": {
832        "title": "test document",
833        "created_at": "2014-01-01T12:00:00.000Z",
834        "file": "documents/test.pdf"
835    }
836},
837{
838    "pk": 1,
839    "model": "wagtailcore.pageviewrestriction",
840    "fields": {
841        "page": 11,
842        "restriction_type": "password",
843        "password": "swordfish"
844    }
845},
846{
847    "pk": 2,
848    "model": "wagtailcore.pageviewrestriction",
849    "fields": {
850        "page": 18,
851        "restriction_type": "groups",
852        "groups": [
853            ["Event editors"]
854        ]
855    }
856},
857{
858    "pk": 3,
859    "model": "wagtailcore.pageviewrestriction",
860    "fields": {
861        "page": 19,
862        "restriction_type": "login"
863    }
864},
865{
866    "pk": 1,
867    "model": "wagtailimages.image",
868    "fields": {
869        "title": "A missing image",
870        "file": "original_images/missing.jpg",
871        "width": 1000,
872        "height": 1000,
873        "created_at": "2014-01-01T12:00:00.000Z"
874    }
875},
876{
877    "model": "wagtailcore.collectionviewrestriction",
878    "pk": 1,
879    "fields": {
880        "restriction_type": "password",
881        "password": "swordfish",
882        "collection": 2
883    }
884},
885{
886    "model": "wagtailcore.collectionviewrestriction",
887    "pk": 2,
888    "fields": {
889        "restriction_type": "login",
890        "collection": 3
891    }
892},
893{
894    "model": "wagtailcore.collectionviewrestriction",
895    "pk": 3,
896    "fields": {
897        "restriction_type": "groups",
898        "collection": 4,
899        "groups": [
900            ["Event editors"]
901        ]
902    }
903},
904{
905    "model": "wagtailcore.collection",
906    "pk": 1,
907    "fields": {
908        "path": "0001",
909        "depth": 1,
910        "numchild": 3,
911        "name": "Root"
912    }
913},
914{
915    "model": "wagtailcore.collection",
916    "pk": 2,
917    "fields": {
918        "path": "00010001",
919        "depth": 2,
920        "numchild": 0,
921        "name": "Password protected"
922    }
923},
924{
925    "model": "wagtailcore.collection",
926    "pk": 3,
927    "fields": {
928        "path": "00010002",
929        "depth": 2,
930        "numchild": 0,
931        "name": "Login protected"
932    }
933},
934{
935    "model": "wagtailcore.collection",
936    "pk": 4,
937    "fields": {
938        "path": "00010003",
939        "depth": 2,
940        "numchild": 0,
941        "name": "Group protected"
942    }
943},
944{
945  "pk": "advert/01",
946  "model": "tests.advertwithcustomprimarykey",
947  "fields": {
948      "text": "test_advert",
949      "url": "http://www.example.com"
950      }
951},
952{
953  "pk": "2dbe9aa7-1f4a-428a-8cca-b929ee5bff5b",
954  "model": "tests.advertwithcustomuuidprimarykey",
955  "fields": {
956      "text": "test_advert",
957      "url": "http://www.example.com"
958      }
959}
960]
961