Merge branch 'remove-sponsor-fixtures' into 'master'

Remove sponsor fixtures

See merge request !2
This commit is contained in:
Sachi King 2017-06-10 02:45:35 +00:00
commit ad21281840
3 changed files with 8 additions and 154 deletions

View file

@ -68,3 +68,11 @@ Shut down and now run:
``./manage.py populate_inventory`` ``./manage.py populate_inventory``
Now you can run the system and see how it goes. Now you can run the system and see how it goes.
Base Data
~~~~~~~~~
On initial creation and whenever you reset the database you must reload the
basic data. This data is stored in the /fixtures directory. You can load this with:
``./manage.py loaddata ./fixtures/*.json``

View file

@ -1,119 +0,0 @@
[
{
"pk": 2,
"model": "symposion_sponsorship.benefit",
"fields": {
"type": "weblogo",
"name": "Web Logo",
"description": "Logo to appear on the website"
}
},
{
"pk": 3,
"model": "symposion_sponsorship.benefit",
"fields": {
"type": "file",
"name": "Print Logo",
"description": "Logo to appear in print"
}
},
{
"pk": 4,
"model": "symposion_sponsorship.benefit",
"fields": {
"type": "text",
"name": "Sponsor Description",
"description": "Description to appear on website and in print"
}
},
{
"pk": 9,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 4,
"max_words": null,
"level": 1
}
},
{
"pk": 5,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 3,
"max_words": null,
"level": 1
}
},
{
"pk": 1,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 2,
"max_words": null,
"level": 1
}
},
{
"pk": 10,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 4,
"max_words": null,
"level": 2
}
},
{
"pk": 6,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 3,
"max_words": null,
"level": 2
}
},
{
"pk": 2,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 2,
"max_words": null,
"level": 2
}
},
{
"pk": 11,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 4,
"max_words": null,
"level": 3
}
},
{
"pk": 7,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 3,
"max_words": null,
"level": 3
}
},
{
"pk": 3,
"model": "symposion_sponsorship.benefitlevel",
"fields": {
"other_limits": "",
"benefit": 2,
"max_words": null,
"level": 3
}
}
]

View file

@ -1,35 +0,0 @@
[
{
"pk": 1,
"model": "symposion_sponsorship.sponsorlevel",
"fields": {
"conference": 1,
"description": "",
"cost": 10000,
"name": "Gold",
"order": 0
}
},
{
"pk": 2,
"model": "symposion_sponsorship.sponsorlevel",
"fields": {
"conference": 1,
"description": "",
"cost": 5000,
"name": "Silver",
"order": 1
}
},
{
"pk": 3,
"model": "symposion_sponsorship.sponsorlevel",
"fields": {
"conference": 1,
"description": "",
"cost": 2000,
"name": "Bronze",
"order": 2
}
}
]