Changeset - ad78d869cc1c
[Not reviewed]
0 1 0
Luke Hatcher - 12 years ago 2012-07-13 18:13:18
lukeman@gmail.com
generic conference fixture with two sections: tutorials and talks
1 file changed with 8 insertions and 41 deletions:
0 comments (0 inline, 0 general)
fixtures/conference.json
Show inline comments
...
 
@@ -3,10 +3,10 @@
 
        "pk": 1, 
 
        "model": "conference.conference", 
 
        "fields": {
 
            "timezone": "US/Pacific", 
 
            "start_date": "2013-03-13", 
 
            "end_date": "2013-03-21", 
 
            "title": "PyCon 2013"
 
            "timezone": "US/Eastern", 
 
            "start_date": "2040-01-01", 
 
            "end_date": "2040-01-04", 
 
            "title": "SymposionCon"
 
        }
 
    }, 
 
    {
...
 
@@ -14,9 +14,9 @@
 
        "model": "conference.section", 
 
        "fields": {
 
            "conference": 1, 
 
            "start_date": "2013-03-13", 
 
            "start_date": "2040-01-01", 
 
            "name": "Tutorials", 
 
            "end_date": "2013-03-14", 
 
            "end_date": "2040-01-01", 
 
            "slug": "tutorials"
 
        }
 
    }, 
...
 
@@ -25,43 +25,10 @@
 
        "model": "conference.section", 
 
        "fields": {
 
            "conference": 1, 
 
            "start_date": "2013-03-15", 
 
            "start_date": "2040-01-02", 
 
            "name": "Talks", 
 
            "end_date": "2013-03-18", 
 
            "end_date": "2040-01-04", 
 
            "slug": "talks"
 
        }
 
    }, 
 
    {
 
        "pk": 3, 
 
        "model": "conference.section", 
 
        "fields": {
 
            "conference": 1, 
 
            "start_date": null, 
 
            "name": "Posters", 
 
            "end_date": null, 
 
            "slug": "posters"
 
        }
 
    }, 
 
    {
 
        "pk": 4, 
 
        "model": "conference.section", 
 
        "fields": {
 
            "conference": 1, 
 
            "start_date": "2013-03-19", 
 
            "name": "Sprints", 
 
            "end_date": "2013-03-21", 
 
            "slug": "sprints"
 
        }
 
    }, 
 
    {
 
        "pk": 5, 
 
        "model": "conference.section", 
 
        "fields": {
 
            "conference": 1, 
 
            "start_date": null, 
 
            "name": "Open Spaces", 
 
            "end_date": null, 
 
            "slug": "open-spaces"
 
        }
 
    }
 
]
...
 
\ No newline at end of file
0 comments (0 inline, 0 general)