mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-04 21:44:44 +00:00
600 lines
13 KiB
JSON
600 lines
13 KiB
JSON
[
|
|
{
|
|
"pk": 1,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Root",
|
|
"numchild": 1,
|
|
"show_in_menus": false,
|
|
"live": true,
|
|
"depth": 1,
|
|
"content_type": [
|
|
"wagtailcore",
|
|
"page"
|
|
],
|
|
"path": "0001",
|
|
"url_path": "/",
|
|
"slug": "root"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 2,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Welcome to the Wagtail test site!",
|
|
"numchild": 5,
|
|
"show_in_menus": false,
|
|
"live": true,
|
|
"depth": 2,
|
|
"content_type": ["wagtailcore", "page"],
|
|
"path": "00010001",
|
|
"url_path": "/home/",
|
|
"slug": "home"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 3,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Events",
|
|
"numchild": 4,
|
|
"show_in_menus": true,
|
|
"live": true,
|
|
"depth": 3,
|
|
"content_type": ["tests", "eventindex"],
|
|
"path": "000100010001",
|
|
"url_path": "/home/events/",
|
|
"slug": "events"
|
|
}
|
|
},
|
|
{
|
|
"pk": 3,
|
|
"model": "tests.eventindex",
|
|
"fields": {
|
|
"intro": "Look at our lovely events."
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 4,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Christmas",
|
|
"numchild": 0,
|
|
"show_in_menus": true,
|
|
"live": true,
|
|
"depth": 4,
|
|
"content_type": ["tests", "eventpage"],
|
|
"path": "0001000100010001",
|
|
"url_path": "/home/events/christmas/",
|
|
"slug": "christmas",
|
|
"owner": 2
|
|
}
|
|
},
|
|
{
|
|
"pk": 4,
|
|
"model": "tests.eventpage",
|
|
"fields": {
|
|
"date_from": "2014-12-25",
|
|
"audience": "public",
|
|
"location": "The North Pole",
|
|
"body": "<p>Chestnuts roasting on an open fire</p>",
|
|
"cost": "Free"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 1,
|
|
"model": "tests.eventpagespeaker",
|
|
"fields": {
|
|
"page": 4,
|
|
"first_name": "Santa",
|
|
"last_name": "Claus",
|
|
"sort_order": 0
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 5,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Tentative Unpublished Event",
|
|
"numchild": 0,
|
|
"show_in_menus": true,
|
|
"live": false,
|
|
"depth": 4,
|
|
"content_type": ["tests", "eventpage"],
|
|
"path": "0001000100010002",
|
|
"url_path": "/home/events/tentative-unpublished-event/",
|
|
"slug": "tentative-unpublished-event",
|
|
"owner": 2
|
|
}
|
|
},
|
|
{
|
|
"pk": 5,
|
|
"model": "tests.eventpage",
|
|
"fields": {
|
|
"date_from": "2015-07-04",
|
|
"audience": "public",
|
|
"location": "The moon",
|
|
"body": "<p>I haven't worked out the details yet, but it's going to have cake and ponies</p>",
|
|
"cost": "Free"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 6,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Someone Else's Event",
|
|
"numchild": 0,
|
|
"show_in_menus": true,
|
|
"live": false,
|
|
"depth": 4,
|
|
"content_type": ["tests", "eventpage"],
|
|
"path": "0001000100010003",
|
|
"url_path": "/home/events/someone-elses-event/",
|
|
"slug": "someone-elses-event",
|
|
"owner": 3
|
|
}
|
|
},
|
|
{
|
|
"pk": 6,
|
|
"model": "tests.eventpage",
|
|
"fields": {
|
|
"date_from": "2015-07-04",
|
|
"audience": "private",
|
|
"location": "The moon",
|
|
"body": "<p>your name's not down, you're not coming in</p>",
|
|
"cost": "Free (but not for you)"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 7,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "About us",
|
|
"numchild": 0,
|
|
"show_in_menus": true,
|
|
"live": true,
|
|
"depth": 3,
|
|
"content_type": ["tests", "simplepage"],
|
|
"path": "000100010002",
|
|
"url_path": "/home/about-us/",
|
|
"slug": "about-us"
|
|
}
|
|
},
|
|
{
|
|
"pk": 7,
|
|
"model": "tests.simplepage",
|
|
"fields": {
|
|
"content": "<p>We are really good.</p>"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 8,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Contact us",
|
|
"numchild": 0,
|
|
"show_in_menus": true,
|
|
"live": true,
|
|
"depth": 3,
|
|
"content_type": ["tests", "formpage"],
|
|
"path": "000100010003",
|
|
"url_path": "/home/contact-us/",
|
|
"slug": "contact-us"
|
|
}
|
|
},
|
|
{
|
|
"pk": 8,
|
|
"model": "tests.formpage",
|
|
"fields": {
|
|
"to_address": "to@email.com",
|
|
"from_address": "from@email.com",
|
|
"subject": "The subject"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 9,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Ameristralia Day",
|
|
"numchild": 0,
|
|
"show_in_menus": true,
|
|
"live": true,
|
|
"depth": 4,
|
|
"content_type": ["tests", "eventpage"],
|
|
"path": "0001000100010004",
|
|
"url_path": "/home/events/final-event/",
|
|
"slug": "final-event",
|
|
"owner": 3
|
|
}
|
|
},
|
|
{
|
|
"pk": 9,
|
|
"model": "tests.eventpage",
|
|
"fields": {
|
|
"date_from": "2015-04-22",
|
|
"audience": "public",
|
|
"location": "Ameristralia",
|
|
"body": "<p>come celebrate the independence of Ameristralia</p>",
|
|
"cost": "Free"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 1,
|
|
"model": "tests.formfield",
|
|
"fields": {
|
|
"sort_order": 1,
|
|
"label": "Your email",
|
|
"field_type": "email",
|
|
"required": true,
|
|
"choices": "",
|
|
"default_value": "",
|
|
"help_text": "",
|
|
"page": 8
|
|
}
|
|
},
|
|
{
|
|
"pk": 2,
|
|
"model": "tests.formfield",
|
|
"fields": {
|
|
"sort_order": 2,
|
|
"label": "Your message",
|
|
"field_type": "multiline",
|
|
"required": true,
|
|
"choices": "",
|
|
"default_value": "",
|
|
"help_text": "",
|
|
"page": 8
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 10,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Old style route method",
|
|
"numchild": 0,
|
|
"show_in_menus": true,
|
|
"live": true,
|
|
"depth": 3,
|
|
"content_type": ["tests", "pagewitholdstyleroutemethod"],
|
|
"path": "000100010004",
|
|
"url_path": "/home/old-style-route/",
|
|
"slug": "old-style-route"
|
|
}
|
|
},
|
|
{
|
|
"pk": 10,
|
|
"model": "tests.pagewitholdstyleroutemethod",
|
|
"fields": {
|
|
"content": "<p>Test with old style route method</p>"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 11,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Secret plans",
|
|
"numchild": 1,
|
|
"show_in_menus": true,
|
|
"live": true,
|
|
"depth": 3,
|
|
"content_type": ["tests", "simplepage"],
|
|
"path": "000100010005",
|
|
"url_path": "/home/secret-plans/",
|
|
"slug": "secret-plans"
|
|
}
|
|
},
|
|
{
|
|
"pk": 11,
|
|
"model": "tests.simplepage",
|
|
"fields": {
|
|
"content": "<p>muahahahaha</p>"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 12,
|
|
"model": "wagtailcore.page",
|
|
"fields": {
|
|
"title": "Steal underpants",
|
|
"numchild": 0,
|
|
"show_in_menus": true,
|
|
"live": true,
|
|
"depth": 4,
|
|
"content_type": ["tests", "eventpage"],
|
|
"path": "0001000100050001",
|
|
"url_path": "/home/secret-plans/steal-underpants/",
|
|
"slug": "steal-underpants"
|
|
}
|
|
},
|
|
{
|
|
"pk": 12,
|
|
"model": "tests.eventpage",
|
|
"fields": {
|
|
"date_from": "2015-07-04",
|
|
"audience": "private",
|
|
"location": "Marks and Spencer",
|
|
"body": "<p>meet in the menswear department at noon</p>",
|
|
"cost": "free"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 1,
|
|
"model": "wagtailcore.site",
|
|
"fields": {
|
|
"root_page": 2,
|
|
"hostname": "localhost",
|
|
"port": 80,
|
|
"is_default_site": true
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 3,
|
|
"model": "auth.group",
|
|
"fields": {
|
|
"name": "Event editors",
|
|
"permissions": [
|
|
["access_admin", "wagtailadmin", "admin"],
|
|
["add_image", "wagtailimages", "image"],
|
|
["change_image", "wagtailimages", "image"],
|
|
["delete_image", "wagtailimages", "image"]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pk": 4,
|
|
"model": "auth.group",
|
|
"fields": {
|
|
"name": "Event moderators",
|
|
"permissions": [
|
|
["access_admin", "wagtailadmin", "admin"],
|
|
["add_image", "wagtailimages", "image"],
|
|
["change_image", "wagtailimages", "image"],
|
|
["delete_image", "wagtailimages", "image"]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pk": 5,
|
|
"model": "auth.group",
|
|
"fields": {
|
|
"name": "Site-wide editors",
|
|
"permissions": [
|
|
["access_admin", "wagtailadmin", "admin"],
|
|
["add_image", "wagtailimages", "image"],
|
|
["change_image", "wagtailimages", "image"],
|
|
["delete_image", "wagtailimages", "image"]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pk": 6,
|
|
"model": "auth.group",
|
|
"fields": {
|
|
"name": "Admin non-editors",
|
|
"permissions": [
|
|
["access_admin", "wagtailadmin", "admin"]
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"pk": 1,
|
|
"model": "wagtailcore.grouppagepermission",
|
|
"fields": {
|
|
"group": ["Event editors"],
|
|
"page": 3,
|
|
"permission_type": "add"
|
|
}
|
|
},
|
|
{
|
|
"pk": 2,
|
|
"model": "wagtailcore.grouppagepermission",
|
|
"fields": {
|
|
"group": ["Event moderators"],
|
|
"page": 3,
|
|
"permission_type": "add"
|
|
}
|
|
},
|
|
{
|
|
"pk": 3,
|
|
"model": "wagtailcore.grouppagepermission",
|
|
"fields": {
|
|
"group": ["Event moderators"],
|
|
"page": 3,
|
|
"permission_type": "edit"
|
|
}
|
|
},
|
|
{
|
|
"pk": 4,
|
|
"model": "wagtailcore.grouppagepermission",
|
|
"fields": {
|
|
"group": ["Event moderators"],
|
|
"page": 3,
|
|
"permission_type": "publish"
|
|
}
|
|
},
|
|
{
|
|
"pk": 5,
|
|
"model": "wagtailcore.grouppagepermission",
|
|
"fields": {
|
|
"group": ["Site-wide editors"],
|
|
"page": 2,
|
|
"permission_type": "edit"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 1,
|
|
"model": "auth.user",
|
|
"fields": {
|
|
"username": "superuser",
|
|
"first_name": "",
|
|
"last_name": "",
|
|
"is_active": true,
|
|
"is_superuser": true,
|
|
"is_staff": true,
|
|
"groups": [
|
|
],
|
|
"user_permissions": [],
|
|
"password": "md5$seasalt$1e9bf2bf5606aa5c39852cc30f0f6f22",
|
|
"email": "superuser@example.com"
|
|
}
|
|
},
|
|
{
|
|
"pk": 2,
|
|
"model": "auth.user",
|
|
"fields": {
|
|
"username": "eventeditor",
|
|
"first_name": "",
|
|
"last_name": "",
|
|
"is_active": true,
|
|
"is_superuser": false,
|
|
"is_staff": false,
|
|
"groups": [
|
|
["Event editors"]
|
|
],
|
|
"user_permissions": [],
|
|
"password": "md5$seasalt$1e9bf2bf5606aa5c39852cc30f0f6f22",
|
|
"email": "eventeditor@example.com"
|
|
}
|
|
},
|
|
{
|
|
"pk": 3,
|
|
"model": "auth.user",
|
|
"fields": {
|
|
"username": "eventmoderator",
|
|
"first_name": "",
|
|
"last_name": "",
|
|
"is_active": true,
|
|
"is_superuser": false,
|
|
"is_staff": false,
|
|
"groups": [
|
|
["Event moderators"]
|
|
],
|
|
"user_permissions": [],
|
|
"password": "md5$seasalt$1e9bf2bf5606aa5c39852cc30f0f6f22",
|
|
"email": "eventmoderator@example.com"
|
|
}
|
|
},
|
|
{
|
|
"pk": 4,
|
|
"model": "auth.user",
|
|
"fields": {
|
|
"username": "inactiveuser",
|
|
"first_name": "",
|
|
"last_name": "",
|
|
"is_active": false,
|
|
"is_superuser": false,
|
|
"is_staff": false,
|
|
"groups": [
|
|
["Event moderators"]
|
|
],
|
|
"user_permissions": [],
|
|
"password": "md5$seasalt$1e9bf2bf5606aa5c39852cc30f0f6f22",
|
|
"email": "inactiveuser@example.com"
|
|
}
|
|
},
|
|
{
|
|
"pk": 5,
|
|
"model": "auth.user",
|
|
"fields": {
|
|
"username": "siteeditor",
|
|
"first_name": "",
|
|
"last_name": "",
|
|
"is_active": true,
|
|
"is_superuser": false,
|
|
"is_staff": false,
|
|
"groups": [
|
|
["Site-wide editors"]
|
|
],
|
|
"user_permissions": [],
|
|
"password": "md5$seasalt$1e9bf2bf5606aa5c39852cc30f0f6f22",
|
|
"email": "siteeditor@example.com"
|
|
}
|
|
},
|
|
{
|
|
"pk": 6,
|
|
"model": "auth.user",
|
|
"fields": {
|
|
"username": "admin_only_user",
|
|
"first_name": "",
|
|
"last_name": "",
|
|
"is_active": true,
|
|
"is_superuser": false,
|
|
"is_staff": false,
|
|
"groups": [
|
|
["Admin non-editors"]
|
|
],
|
|
"user_permissions": [],
|
|
"password": "md5$seasalt$1e9bf2bf5606aa5c39852cc30f0f6f22",
|
|
"email": "admin_only_user@example.com"
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 1,
|
|
"model": "wagtailforms.formsubmission",
|
|
"fields": {
|
|
"form_data": "{\"your-email\": \"old@example.com\", \"your-message\": \"this is a really old message\"}",
|
|
"page": 8,
|
|
"submit_time": "2013-01-01T12:00:00.000Z"
|
|
}
|
|
},
|
|
{
|
|
"pk": 2,
|
|
"model": "wagtailforms.formsubmission",
|
|
"fields": {
|
|
"form_data": "{\"your-email\": \"new@example.com\", \"your-message\": \"this is a fairly new message\"}",
|
|
"page": 8,
|
|
"submit_time": "2014-01-01T12:00:00.000Z"
|
|
}
|
|
},
|
|
{
|
|
"pk": 1,
|
|
"model": "tests.advert",
|
|
"fields": {
|
|
"text": "test_advert",
|
|
"url": "http://www.example.com"
|
|
}
|
|
},
|
|
{
|
|
"pk": 1,
|
|
"model": "wagtaildocs.Document",
|
|
"fields": {
|
|
"title": "test document",
|
|
"created_at": "2014-01-01T12:00:00.000Z"
|
|
}
|
|
},
|
|
{
|
|
"pk": 1,
|
|
"model": "wagtailimages.Image",
|
|
"fields": {
|
|
"title": "test image",
|
|
"created_at": "2014-01-01T12:00:00.000Z",
|
|
"width": 0,
|
|
"height": 0
|
|
}
|
|
},
|
|
|
|
{
|
|
"pk": 1,
|
|
"model": "wagtailcore.pageviewrestriction",
|
|
"fields": {
|
|
"page": 11,
|
|
"password": "swordfish"
|
|
}
|
|
}
|
|
]
|