Update fixtures for LCA2019
This commit is contained in:
parent
b366c7809e
commit
44cc0e356f
3 changed files with 68 additions and 30 deletions
38
fixtures/flatpages.json
Normal file
38
fixtures/flatpages.json
Normal file
|
@ -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
|
||||||
|
}
|
||||||
|
]
|
|
@ -25,7 +25,7 @@
|
||||||
"sort_order": 2,
|
"sort_order": 2,
|
||||||
"title": "LINUX.CONF.AU 2019",
|
"title": "LINUX.CONF.AU 2019",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/index.html",
|
"url": "/index.html",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -92,7 +92,7 @@
|
||||||
"access_restricted": true,
|
"access_restricted": true,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -147,7 +147,7 @@
|
||||||
"access_restricted": true,
|
"access_restricted": true,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -180,7 +180,7 @@
|
||||||
"sort_order": 3,
|
"sort_order": 3,
|
||||||
"title": "Home",
|
"title": "Home",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/index.html",
|
"url": "/",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -195,7 +195,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -204,7 +204,7 @@
|
||||||
"sort_order": 9,
|
"sort_order": 9,
|
||||||
"title": "About",
|
"title": "About",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/about",
|
"url": "/about",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -219,7 +219,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -228,7 +228,7 @@
|
||||||
"sort_order": 21,
|
"sort_order": 21,
|
||||||
"title": "News",
|
"title": "News",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/news",
|
"url": "/news",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -250,7 +250,7 @@
|
||||||
"insitetree": true,
|
"insitetree": true,
|
||||||
"parent": null,
|
"parent": null,
|
||||||
"sort_order": 22,
|
"sort_order": 22,
|
||||||
"title": "Attend",
|
"title": "Submissions",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "#",
|
"url": "#",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
|
@ -267,7 +267,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -276,7 +276,7 @@
|
||||||
"sort_order": 24,
|
"sort_order": 24,
|
||||||
"title": "Tickets and Prices",
|
"title": "Tickets and Prices",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/attend",
|
"url": "/attend",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -291,7 +291,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -300,7 +300,7 @@
|
||||||
"sort_order": 25,
|
"sort_order": 25,
|
||||||
"title": "Accommodation",
|
"title": "Accommodation",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/attend/accommodation",
|
"url": "/attend/accommodation",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -315,7 +315,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -324,7 +324,7 @@
|
||||||
"sort_order": 26,
|
"sort_order": 26,
|
||||||
"title": "Business Case",
|
"title": "Business Case",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/attend/business-case",
|
"url": "/attend/business-case",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -339,7 +339,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -348,7 +348,7 @@
|
||||||
"sort_order": 27,
|
"sort_order": 27,
|
||||||
"title": "Shirts",
|
"title": "Shirts",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/attend/shirts",
|
"url": "/attend/shirts",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -372,7 +372,7 @@
|
||||||
"sort_order": 28,
|
"sort_order": 28,
|
||||||
"title": "Code of Conduct",
|
"title": "Code of Conduct",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/attend/code-of-conduct",
|
"url": "/attend/code-of-conduct",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -396,7 +396,7 @@
|
||||||
"sort_order": 29,
|
"sort_order": 29,
|
||||||
"title": "Terms and Conditions",
|
"title": "Terms and Conditions",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/attend/terms-and-conditions",
|
"url": "/attend/terms-and-conditions",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -411,7 +411,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -420,7 +420,7 @@
|
||||||
"sort_order": 30,
|
"sort_order": 30,
|
||||||
"title": "Volunteer",
|
"title": "Volunteer",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/attend/volunteer",
|
"url": "/attend/volunteer",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -435,7 +435,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -459,7 +459,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -468,7 +468,7 @@
|
||||||
"sort_order": 32,
|
"sort_order": 32,
|
||||||
"title": "Overview",
|
"title": "Overview",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/programme",
|
"url": "/programme",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -483,7 +483,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -492,7 +492,7 @@
|
||||||
"sort_order": 33,
|
"sort_order": 33,
|
||||||
"title": "Miniconfs",
|
"title": "Miniconfs",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/programme/miniconfs.html",
|
"url": "/programme/miniconfs.html",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -507,7 +507,7 @@
|
||||||
"access_restricted": false,
|
"access_restricted": false,
|
||||||
"alias": null,
|
"alias": null,
|
||||||
"description": "",
|
"description": "",
|
||||||
"hidden": false,
|
"hidden": true,
|
||||||
"hint": "",
|
"hint": "",
|
||||||
"inbreadcrumbs": true,
|
"inbreadcrumbs": true,
|
||||||
"inmenu": true,
|
"inmenu": true,
|
||||||
|
@ -516,7 +516,7 @@
|
||||||
"sort_order": 34,
|
"sort_order": 34,
|
||||||
"title": "Proposals",
|
"title": "Proposals",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/proposals",
|
"url": "/proposals",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
@ -540,7 +540,7 @@
|
||||||
"sort_order": 31,
|
"sort_order": 31,
|
||||||
"title": "Sponsors",
|
"title": "Sponsors",
|
||||||
"tree": 1,
|
"tree": 1,
|
||||||
"url": "https://lca2019.linux.org.au/sponsors",
|
"url": "/sponsors",
|
||||||
"urlaspattern": false
|
"urlaspattern": false
|
||||||
},
|
},
|
||||||
"model": "sitetree.treeitem",
|
"model": "sitetree.treeitem",
|
||||||
|
|
|
@ -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 create --env-file docker/laptop-mode-env -p 28000:8000 -v $(pwd):/app/symposion_app --name symposion ${CONTAINER_NAME}
|
||||||
docker container start symposion
|
docker container start symposion
|
||||||
docker exec symposion ./manage.py migrate
|
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 create_review_permissions
|
||||||
#docker exec symposion ./manage.py populate_inventory
|
#docker exec symposion ./manage.py populate_inventory
|
||||||
#docker exec symposion ./manage.py loaddata ./fixtures/miniconf-fixtures/*.json
|
#docker exec symposion ./manage.py loaddata ./fixtures/miniconf-fixtures/*.json
|
||||||
|
|
Loading…
Reference in a new issue