diff --git a/fixtures/flatpages.json b/fixtures/flatpages.json new file mode 100644 index 00000000..2c82e0da --- /dev/null +++ b/fixtures/flatpages.json @@ -0,0 +1,38 @@ +[ + { + "fields": { + "url": "/", + "title": "LCA 2019", + "sites": [ + 1 + ], + "template_name": "flatpages/homepage.html" + }, + "model": "flatpages.flatpage", + "pk": 1 + }, + { + "fields": { + "url": "/attend/code-of-conduct/", + "title": "Code of Conduct -- LCA2019", + "sites": [ + 1 + ], + "template_name": "flatpages/coc.html" + }, + "model": "flatpages.flatpage", + "pk": 2 + }, + { + "fields": { + "url": "/attend/terms-and-conditions/", + "title": "Terms and Conditions -- LCA2019", + "sites": [ + 1 + ], + "template_name": "flatpages/toc.html" + }, + "model": "flatpages.flatpage", + "pk": 3 + } +] diff --git a/fixtures/sitetree.json b/fixtures/sitetree.json index 6c3fb7ec..155a3a3e 100644 --- a/fixtures/sitetree.json +++ b/fixtures/sitetree.json @@ -25,7 +25,7 @@ "sort_order": 2, "title": "LINUX.CONF.AU 2019", "tree": 1, - "url": "https://lca2019.linux.org.au/index.html", + "url": "/index.html", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -92,7 +92,7 @@ "access_restricted": true, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -147,7 +147,7 @@ "access_restricted": true, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -180,7 +180,7 @@ "sort_order": 3, "title": "Home", "tree": 1, - "url": "https://lca2019.linux.org.au/index.html", + "url": "/", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -195,7 +195,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -204,7 +204,7 @@ "sort_order": 9, "title": "About", "tree": 1, - "url": "https://lca2019.linux.org.au/about", + "url": "/about", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -219,7 +219,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -228,7 +228,7 @@ "sort_order": 21, "title": "News", "tree": 1, - "url": "https://lca2019.linux.org.au/news", + "url": "/news", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -250,7 +250,7 @@ "insitetree": true, "parent": null, "sort_order": 22, - "title": "Attend", + "title": "Submissions", "tree": 1, "url": "#", "urlaspattern": false @@ -267,7 +267,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -276,7 +276,7 @@ "sort_order": 24, "title": "Tickets and Prices", "tree": 1, - "url": "https://lca2019.linux.org.au/attend", + "url": "/attend", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -291,7 +291,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -300,7 +300,7 @@ "sort_order": 25, "title": "Accommodation", "tree": 1, - "url": "https://lca2019.linux.org.au/attend/accommodation", + "url": "/attend/accommodation", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -315,7 +315,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -324,7 +324,7 @@ "sort_order": 26, "title": "Business Case", "tree": 1, - "url": "https://lca2019.linux.org.au/attend/business-case", + "url": "/attend/business-case", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -339,7 +339,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -348,7 +348,7 @@ "sort_order": 27, "title": "Shirts", "tree": 1, - "url": "https://lca2019.linux.org.au/attend/shirts", + "url": "/attend/shirts", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -372,7 +372,7 @@ "sort_order": 28, "title": "Code of Conduct", "tree": 1, - "url": "https://lca2019.linux.org.au/attend/code-of-conduct", + "url": "/attend/code-of-conduct", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -396,7 +396,7 @@ "sort_order": 29, "title": "Terms and Conditions", "tree": 1, - "url": "https://lca2019.linux.org.au/attend/terms-and-conditions", + "url": "/attend/terms-and-conditions", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -411,7 +411,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -420,7 +420,7 @@ "sort_order": 30, "title": "Volunteer", "tree": 1, - "url": "https://lca2019.linux.org.au/attend/volunteer", + "url": "/attend/volunteer", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -435,7 +435,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -459,7 +459,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -468,7 +468,7 @@ "sort_order": 32, "title": "Overview", "tree": 1, - "url": "https://lca2019.linux.org.au/programme", + "url": "/programme", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -483,7 +483,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -492,7 +492,7 @@ "sort_order": 33, "title": "Miniconfs", "tree": 1, - "url": "https://lca2019.linux.org.au/programme/miniconfs.html", + "url": "/programme/miniconfs.html", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -507,7 +507,7 @@ "access_restricted": false, "alias": null, "description": "", - "hidden": false, + "hidden": true, "hint": "", "inbreadcrumbs": true, "inmenu": true, @@ -516,7 +516,7 @@ "sort_order": 34, "title": "Proposals", "tree": 1, - "url": "https://lca2019.linux.org.au/proposals", + "url": "/proposals", "urlaspattern": false }, "model": "sitetree.treeitem", @@ -540,7 +540,7 @@ "sort_order": 31, "title": "Sponsors", "tree": 1, - "url": "https://lca2019.linux.org.au/sponsors", + "url": "/sponsors", "urlaspattern": false }, "model": "sitetree.treeitem", diff --git a/make_dev_container.sh b/make_dev_container.sh index 5e63c4ec..d45a585b 100755 --- a/make_dev_container.sh +++ b/make_dev_container.sh @@ -8,7 +8,7 @@ docker container rm symposion docker container create --env-file docker/laptop-mode-env -p 28000:8000 -v $(pwd):/app/symposion_app --name symposion ${CONTAINER_NAME} docker container start symposion docker exec symposion ./manage.py migrate -docker exec symposion ./manage.py loaddata ./fixtures/{conference,sites,sitetree,proposal_base}.json +docker exec symposion ./manage.py loaddata ./fixtures/{conference,sites,sitetree,proposal_base,flatpages}.json docker exec symposion ./manage.py create_review_permissions #docker exec symposion ./manage.py populate_inventory #docker exec symposion ./manage.py loaddata ./fixtures/miniconf-fixtures/*.json