Add inventory and schedule fixtures
This commit is contained in:
parent
c42f2686cf
commit
804dc2508c
5 changed files with 2321 additions and 52 deletions
|
@ -1,48 +0,0 @@
|
||||||
- model: symposion_schedule.schedule
|
|
||||||
pk: 1
|
|
||||||
fields: {section: 1, published: true, hidden: false}
|
|
||||||
|
|
||||||
- model: symposion_schedule.day
|
|
||||||
pk: 1
|
|
||||||
fields: {schedule: 1, date: 2019-01-23}
|
|
||||||
- model: symposion_schedule.day
|
|
||||||
pk: 2
|
|
||||||
fields: {schedule: 1, date: 2019-01-24}
|
|
||||||
- model: symposion_schedule.day
|
|
||||||
pk: 3
|
|
||||||
fields: {schedule: 1, date: 2019-01-25}
|
|
||||||
|
|
||||||
- model: symposion_schedule.room
|
|
||||||
pk: 1
|
|
||||||
fields: {schedule: 1, name: C1, order: 0}
|
|
||||||
- model: symposion_schedule.room
|
|
||||||
pk: 2
|
|
||||||
fields: {schedule: 1, name: C2, order: 5}
|
|
||||||
- model: symposion_schedule.room
|
|
||||||
pk: 3
|
|
||||||
fields: {schedule: 1, name: C3, order: 1}
|
|
||||||
- model: symposion_schedule.room
|
|
||||||
pk: 4
|
|
||||||
fields: {schedule: 1, name: A1, order: 2}
|
|
||||||
- model: symposion_schedule.room
|
|
||||||
pk: 5
|
|
||||||
fields: {schedule: 1, name: A2, order: 3}
|
|
||||||
- model: symposion_schedule.room
|
|
||||||
pk: 6
|
|
||||||
fields: {schedule: 1, name: A3, order: 4}
|
|
||||||
|
|
||||||
- model: symposion_schedule.slotkind
|
|
||||||
pk: 1
|
|
||||||
fields: {schedule: 1, label: Keynote}
|
|
||||||
- model: symposion_schedule.slotkind
|
|
||||||
pk: 2
|
|
||||||
fields: {schedule: 1, label: Talk}
|
|
||||||
- model: symposion_schedule.slotkind
|
|
||||||
pk: 3
|
|
||||||
fields: {schedule: 1, label: Tutorial}
|
|
||||||
- model: symposion_schedule.slotkind
|
|
||||||
pk: 4
|
|
||||||
fields: {schedule: 1, label: Break}
|
|
||||||
- model: symposion_schedule.slotkind
|
|
||||||
pk: 5
|
|
||||||
fields: {schedule: 1, label: Opening}
|
|
2189
fixtures/2019_registrasion.json
Normal file
2189
fixtures/2019_registrasion.json
Normal file
File diff suppressed because it is too large
Load diff
129
fixtures/2019_schedule.json
Normal file
129
fixtures/2019_schedule.json
Normal file
|
@ -0,0 +1,129 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.schedule",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"section": 1,
|
||||||
|
"published": true,
|
||||||
|
"hidden": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.day",
|
||||||
|
"pk": 33,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"date": "2019-01-24"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.day",
|
||||||
|
"pk": 34,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"date": "2019-01-25"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.day",
|
||||||
|
"pk": 35,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"date": "2019-01-23"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.room",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"name": "C1",
|
||||||
|
"order": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.room",
|
||||||
|
"pk": 2,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"name": "C2",
|
||||||
|
"order": 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.room",
|
||||||
|
"pk": 3,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"name": "C3",
|
||||||
|
"order": 3
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.room",
|
||||||
|
"pk": 4,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"name": "A1",
|
||||||
|
"order": 4
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.room",
|
||||||
|
"pk": 5,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"name": "A2",
|
||||||
|
"order": 5
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.room",
|
||||||
|
"pk": 6,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"name": "A3",
|
||||||
|
"order": 6
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.slotkind",
|
||||||
|
"pk": 1,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"label": "Keynote"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.slotkind",
|
||||||
|
"pk": 2,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"label": "Talk"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.slotkind",
|
||||||
|
"pk": 3,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"label": "Tutorial"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.slotkind",
|
||||||
|
"pk": 4,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"label": "Break"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"model": "symposion_schedule.slotkind",
|
||||||
|
"pk": 8,
|
||||||
|
"fields": {
|
||||||
|
"schedule": 1,
|
||||||
|
"label": "Opening"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -71,18 +71,18 @@
|
||||||
<p>You can either check out an invoice and pay for your selections, or return to
|
<p>You can either check out an invoice and pay for your selections, or return to
|
||||||
the dashboard.</p>
|
the dashboard.</p>
|
||||||
|
|
||||||
<a class="btn btn-success" href="{% url "checkout" %}">
|
<a class="btn btn-primary" href="{% url "checkout" %}">
|
||||||
<i class="fa fa-credit-card"></i> Check out and pay
|
<i class="fa fa-credit-card"></i> Check out and pay
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a class="btn btn-primary" href="{% url "dashboard" %}">Return to dashboard</a>
|
<a class="btn btn-light" href="{% url "dashboard" %}">Return to dashboard</a>
|
||||||
|
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
<p>You have no items that need to be paid.</p>
|
<p>You have no items that need to be paid.</p>
|
||||||
|
|
||||||
<div class="form-actions">
|
<div class="form-actions">
|
||||||
<a class="btn btn-primary" href="{% url "dashboard" %}">Return to dashboard</a>
|
<a class="btn btn-light" href="{% url "dashboard" %}">Return to dashboard</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -52,4 +52,3 @@ django-sass-processor==0.7
|
||||||
django-compressor==2.2
|
django-compressor==2.2
|
||||||
|
|
||||||
django-crispy-forms
|
django-crispy-forms
|
||||||
pyyaml
|
|
Loading…
Reference in a new issue