From e8c593e23731ecb3eaaa2bc8398f5e4221f26fd8 Mon Sep 17 00:00:00 2001 From: Tobias Schulmann Date: Sat, 30 Jun 2018 12:10:05 +1200 Subject: [PATCH] Fixed sitetree fixture --- fixtures/sitetree.json | 1005 ++++++++++++++++++++-------------------- 1 file changed, 503 insertions(+), 502 deletions(-) diff --git a/fixtures/sitetree.json b/fixtures/sitetree.json index b50d1c64..09cc9fd0 100644 --- a/fixtures/sitetree.json +++ b/fixtures/sitetree.json @@ -1,549 +1,550 @@ [ { - "fields": { - "alias": "main", - "title": "main" - }, - "model": "sitetree.tree", - "pk": 1 + "model": "sitetree.tree", + "pk": 1, + "fields": { + "title": "main", + "alias": "main" + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": null, - "sort_order": 2, - "title": "LINUX.CONF.AU 2019", - "tree": 1, - "url": "/index.html", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 1 + "model": "sitetree.treeitem", + "pk": 1, + "fields": { + "title": "LINUX.CONF.AU 2019", + "hint": "", + "url": "/index.html", + "urlaspattern": false, + "tree": 1, + "hidden": false, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 2, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 23, - "sort_order": 10, - "title": "Dashboard", - "tree": 1, - "url": "dashboard", - "urlaspattern": true - }, - "model": "sitetree.treeitem", - "pk": 2 + "model": "sitetree.treeitem", + "pk": 2, + "fields": { + "title": "Submissions", + "hint": "", + "url": "dashboard", + "urlaspattern": true, + "tree": 1, + "hidden": false, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 10, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [ - 52 - ], - "access_restricted": true, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 9, - "sort_order": 3, - "title": "django admin", - "tree": 1, - "url": "/admin", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 3 + "model": "sitetree.treeitem", + "pk": 3, + "fields": { + "title": "django admin", + "hint": "", + "url": "/admin", + "urlaspattern": false, + "tree": 1, + "hidden": false, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": true, + "access_perm_type": 1, + "parent": 9, + "sort_order": 3, + "access_permissions": [ + 52 + ] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [ - 52 - ], - "access_restricted": true, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 9, - "sort_order": 4, - "title": "Ticket Reports", - "tree": 1, - "url": "/tickets/reports/", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 4 + "model": "sitetree.treeitem", + "pk": 4, + "fields": { + "title": "Ticket Reports", + "hint": "", + "url": "/tickets/reports/", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": true, + "access_perm_type": 1, + "parent": 9, + "sort_order": 4, + "access_permissions": [ + 52 + ] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [ - 20, - 52 - ], - "access_restricted": true, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": null, - "sort_order": 35, - "title": "Admin", - "tree": 1, - "url": "#", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 9 + "model": "sitetree.treeitem", + "pk": 9, + "fields": { + "title": "Admin", + "hint": "", + "url": "#", + "urlaspattern": false, + "tree": 1, + "hidden": false, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": true, + "access_perm_type": 1, + "parent": null, + "sort_order": 35, + "access_permissions": [ + 52, + 20 + ] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [ - 106, - 107, - 108 - ], - "access_restricted": true, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 9, - "sort_order": 19, - "title": "Schedule Edit", - "tree": 1, - "url": "/schedule/edit", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 19 + "model": "sitetree.treeitem", + "pk": 19, + "fields": { + "title": "Schedule Edit", + "hint": "", + "url": "/schedule/edit", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": true, + "access_perm_type": 1, + "parent": 9, + "sort_order": 19, + "access_permissions": [ + 106, + 107, + 108 + ] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": null, - "sort_order": 3, - "title": "Home", - "tree": 1, - "url": "/", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 20 + "model": "sitetree.treeitem", + "pk": 20, + "fields": { + "title": "Home", + "hint": "", + "url": "/", + "urlaspattern": false, + "tree": 1, + "hidden": false, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 3, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": null, - "sort_order": 9, - "title": "About", - "tree": 1, - "url": "/about", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 21 + "model": "sitetree.treeitem", + "pk": 21, + "fields": { + "title": "About", + "hint": "", + "url": "/about", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 9, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": null, - "sort_order": 21, - "title": "News", - "tree": 1, - "url": "/news", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 22 + "model": "sitetree.treeitem", + "pk": 22, + "fields": { + "title": "News", + "hint": "", + "url": "/news", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 21, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": null, - "sort_order": 22, - "title": "Submissions", - "tree": 1, - "url": "#", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 23 + "model": "sitetree.treeitem", + "pk": 23, + "fields": { + "title": "Submissions", + "hint": "", + "url": "#", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 22, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 23, - "sort_order": 24, - "title": "Tickets and Prices", - "tree": 1, - "url": "/attend", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 24 + "model": "sitetree.treeitem", + "pk": 24, + "fields": { + "title": "Tickets and Prices", + "hint": "", + "url": "/attend", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": 23, + "sort_order": 24, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 23, - "sort_order": 25, - "title": "Accommodation", - "tree": 1, - "url": "/attend/accommodation", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 25 + "model": "sitetree.treeitem", + "pk": 25, + "fields": { + "title": "Accommodation", + "hint": "", + "url": "/attend/accommodation", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": 23, + "sort_order": 25, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 23, - "sort_order": 26, - "title": "Business Case", - "tree": 1, - "url": "/attend/business-case", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 26 + "model": "sitetree.treeitem", + "pk": 26, + "fields": { + "title": "Business Case", + "hint": "", + "url": "/attend/business-case", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": 23, + "sort_order": 26, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 23, - "sort_order": 27, - "title": "Shirts", - "tree": 1, - "url": "/attend/shirts", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 27 + "model": "sitetree.treeitem", + "pk": 27, + "fields": { + "title": "Shirts", + "hint": "", + "url": "/attend/shirts", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": 23, + "sort_order": 27, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 23, - "sort_order": 28, - "title": "Code of Conduct", - "tree": 1, - "url": "/attend/code-of-conduct/", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 28 + "model": "sitetree.treeitem", + "pk": 28, + "fields": { + "title": "Code of Conduct", + "hint": "", + "url": "/attend/code-of-conduct/", + "urlaspattern": false, + "tree": 1, + "hidden": false, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 28, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 23, - "sort_order": 29, - "title": "Terms and Conditions", - "tree": 1, - "url": "/attend/terms-and-conditions/", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 29 + "model": "sitetree.treeitem", + "pk": 29, + "fields": { + "title": "Terms and Conditions", + "hint": "", + "url": "/attend/terms-and-conditions/", + "urlaspattern": false, + "tree": 1, + "hidden": false, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 29, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 23, - "sort_order": 30, - "title": "Volunteer", - "tree": 1, - "url": "/attend/volunteer", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 30 + "model": "sitetree.treeitem", + "pk": 30, + "fields": { + "title": "Volunteer", + "hint": "", + "url": "/attend/volunteer", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": 23, + "sort_order": 30, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": null, - "sort_order": 23, - "title": "Programme", - "tree": 1, - "url": "#", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 31 + "model": "sitetree.treeitem", + "pk": 31, + "fields": { + "title": "Programme", + "hint": "", + "url": "#", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 23, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 31, - "sort_order": 32, - "title": "Overview", - "tree": 1, - "url": "/programme", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 32 + "model": "sitetree.treeitem", + "pk": 32, + "fields": { + "title": "Overview", + "hint": "", + "url": "/programme", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": 31, + "sort_order": 32, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 31, - "sort_order": 33, - "title": "Miniconfs", - "tree": 1, - "url": "/programme/miniconfs.html", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 33 + "model": "sitetree.treeitem", + "pk": 33, + "fields": { + "title": "Miniconfs", + "hint": "", + "url": "/programme/miniconfs.html", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": 31, + "sort_order": 33, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": true, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": 31, - "sort_order": 34, - "title": "Proposals", - "tree": 1, - "url": "/proposals/", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 34 + "model": "sitetree.treeitem", + "pk": 34, + "fields": { + "title": "Proposals", + "hint": "", + "url": "/proposals/", + "urlaspattern": false, + "tree": 1, + "hidden": true, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": 31, + "sort_order": 34, + "access_permissions": [] + } }, { - "fields": { - "access_guest": false, - "access_loggedin": false, - "access_perm_type": 1, - "access_permissions": [], - "access_restricted": false, - "alias": null, - "description": "", - "hidden": false, - "hint": "", - "inbreadcrumbs": true, - "inmenu": true, - "insitetree": true, - "parent": null, - "sort_order": 31, - "title": "Sponsors", - "tree": 1, - "url": "/sponsors/", - "urlaspattern": false - }, - "model": "sitetree.treeitem", - "pk": 35 + "model": "sitetree.treeitem", + "pk": 35, + "fields": { + "title": "Sponsors", + "hint": "", + "url": "/sponsors/", + "urlaspattern": false, + "tree": 1, + "hidden": false, + "alias": null, + "description": "", + "inmenu": true, + "inbreadcrumbs": true, + "insitetree": true, + "access_loggedin": false, + "access_guest": false, + "access_restricted": false, + "access_perm_type": 1, + "parent": null, + "sort_order": 31, + "access_permissions": [] + } } -] + ] + \ No newline at end of file