PageRenderTime 122ms CodeModel.GetById 80ms app.highlight 4ms RepoModel.GetById 37ms app.codeStats 0ms

/mptt/tests/fixtures/categories.json

http://django-mptt.googlecode.com/
JSON | 122 lines | 122 code | 0 blank | 0 comment | 0 complexity | 7f9b2b40a2a826df23237daa85c8326b MD5 | raw file
  1[
  2  {
  3    "pk": 1,
  4    "model": "tests.category",
  5    "fields": {
  6      "rght": 20,
  7      "name": "PC & Video Games",
  8      "parent": null,
  9      "level": 0,
 10      "lft": 1,
 11      "tree_id": 1
 12    }
 13  },
 14  {
 15    "pk": 2,
 16    "model": "tests.category",
 17    "fields": {
 18      "rght": 7,
 19      "name": "Nintendo Wii",
 20      "parent": 1,
 21      "level": 1,
 22      "lft": 2,
 23      "tree_id": 1
 24    }
 25  },
 26  {
 27    "pk": 3,
 28    "model": "tests.category",
 29    "fields": {
 30      "rght": 4,
 31      "name": "Games",
 32      "parent": 2,
 33      "level": 2,
 34      "lft": 3,
 35      "tree_id": 1
 36    }
 37  },
 38  {
 39    "pk": 4,
 40    "model": "tests.category",
 41    "fields": {
 42      "rght": 6,
 43      "name": "Hardware & Accessories",
 44      "parent": 2,
 45      "level": 2,
 46      "lft": 5,
 47      "tree_id": 1
 48    }
 49  },
 50  {
 51    "pk": 5,
 52    "model": "tests.category",
 53    "fields": {
 54      "rght": 13,
 55      "name": "Xbox 360",
 56      "parent": 1,
 57      "level": 1,
 58      "lft": 8,
 59      "tree_id": 1
 60    }
 61  },
 62  {
 63    "pk": 6,
 64    "model": "tests.category",
 65    "fields": {
 66      "rght": 10,
 67      "name": "Games",
 68      "parent": 5,
 69      "level": 2,
 70      "lft": 9,
 71      "tree_id": 1
 72    }
 73  },
 74  {
 75    "pk": 7,
 76    "model": "tests.category",
 77    "fields": {
 78      "rght": 12,
 79      "name": "Hardware & Accessories",
 80      "parent": 5,
 81      "level": 2,
 82      "lft": 11,
 83      "tree_id": 1
 84    }
 85  },
 86  {
 87    "pk": 8,
 88    "model": "tests.category",
 89    "fields": {
 90      "rght": 19,
 91      "name": "PlayStation 3",
 92      "parent": 1,
 93      "level": 1,
 94      "lft": 14,
 95      "tree_id": 1
 96    }
 97  },
 98  {
 99    "pk": 9,
100    "model": "tests.category",
101    "fields": {
102      "rght": 16,
103      "name": "Games",
104      "parent": 8,
105      "level": 2,
106      "lft": 15,
107      "tree_id": 1
108    }
109  },
110  {
111    "pk": 10,
112    "model": "tests.category",
113    "fields": {
114      "rght": 18,
115      "name": "Hardware & Accessories",
116      "parent": 8,
117      "level": 2,
118      "lft": 17,
119      "tree_id": 1
120    }
121  }
122]