PageRenderTime 5ms CodeModel.GetById 1ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/modeltests/raw_query/fixtures/raw_query_books.json

https://code.google.com/p/mango-py/
JSON | 110 lines | 110 code | 0 blank | 0 comment | 0 complexity | 9533253b47a2c989ccdeb76b5629f3f6 MD5 | raw file
  1[
  2    {
  3        "pk": 1,
  4        "model": "raw_query.author",
  5        "fields": {
  6            "dob": "1950-09-20",
  7            "first_name": "Joe",
  8            "last_name": "Smith"
  9        }
 10    },
 11    {
 12        "pk": 2,
 13        "model": "raw_query.author",
 14        "fields": {
 15            "dob": "1920-04-02",
 16            "first_name": "Jill",
 17            "last_name": "Doe"
 18        }
 19    },
 20    {
 21        "pk": 3,
 22        "model": "raw_query.author",
 23        "fields": {
 24            "dob": "1986-01-25",
 25            "first_name": "Bob",
 26            "last_name": "Smith"
 27        }
 28    },
 29    {
 30        "pk": 4,
 31        "model": "raw_query.author",
 32        "fields": {
 33            "dob": "1932-05-10",
 34            "first_name": "Bill",
 35            "last_name": "Jones"
 36        }
 37    },
 38    {
 39        "pk": 1,
 40        "model": "raw_query.book",
 41        "fields": {
 42            "author": 1,
 43            "title": "The awesome book",
 44            "paperback": false,
 45            "opening_line": "It was a bright cold day in April and the clocks were striking thirteen."
 46        }
 47    },
 48    {
 49        "pk": 2,
 50        "model": "raw_query.book",
 51        "fields": {
 52            "author": 1,
 53            "title": "The horrible book",
 54            "paperback": true,
 55            "opening_line": "On an evening in the latter part of May a middle-aged man was walking homeward from Shaston to the village of Marlott, in the adjoining Vale of Blakemore, or Blackmoor."
 56        }
 57    },
 58    {
 59        "pk": 3,
 60        "model": "raw_query.book",
 61        "fields": {
 62            "author": 1,
 63            "title": "Another awesome book",
 64            "paperback": false,
 65            "opening_line": "A squat grey building of only thirty-four stories."
 66        }
 67    },
 68    {
 69        "pk": 4,
 70        "model": "raw_query.book",
 71        "fields": {
 72            "author": 3,
 73            "title": "Some other book",
 74            "paperback": true,
 75            "opening_line": "It was the day my grandmother exploded."
 76        }
 77    },
 78    {
 79        "pk": 1,
 80        "model": "raw_query.coffee",
 81        "fields": {
 82            "brand": "dunkin doughnuts"
 83        }
 84    },
 85    {
 86        "pk": 2,
 87        "model": "raw_query.coffee",
 88        "fields": {
 89            "brand": "starbucks"
 90        }
 91    },
 92    {
 93        "pk": 1,
 94        "model": "raw_query.reviewer",
 95        "fields": {
 96            "reviewed": [
 97                2,
 98                3,
 99                4
100            ]
101        }
102    },
103    {
104        "pk": 2,
105        "model": "raw_query.reviewer",
106        "fields": {
107            "reviewed": []
108        }
109    }
110]