PageRenderTime 38ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/demo/example/fixtures/initial_data.json

http://django-dynamic-formset.googlecode.com/
JSON | 114 lines | 114 code | 0 blank | 0 comment | 0 complexity | 1e85f60b52134d6379c6d749a3905a89 MD5 | raw file
  1. [
  2. {
  3. "pk": 1,
  4. "model": "example.product",
  5. "fields": {
  6. "name": "Black-eyed Peas"
  7. }
  8. },
  9. {
  10. "pk": 10,
  11. "model": "example.product",
  12. "fields": {
  13. "name": "Kidney Beans"
  14. }
  15. },
  16. {
  17. "pk": 3,
  18. "model": "example.product",
  19. "fields": {
  20. "name": "Minty Loin of Lamb"
  21. }
  22. },
  23. {
  24. "pk": 7,
  25. "model": "example.product",
  26. "fields": {
  27. "name": "Olive Oil (Extra Virgin)"
  28. }
  29. },
  30. {
  31. "pk": 8,
  32. "model": "example.product",
  33. "fields": {
  34. "name": "Oreos"
  35. }
  36. },
  37. {
  38. "pk": 2,
  39. "model": "example.product",
  40. "fields": {
  41. "name": "Prime Bac'n"
  42. }
  43. },
  44. {
  45. "pk": 9,
  46. "model": "example.product",
  47. "fields": {
  48. "name": "Reese's Peanut Butter Cups"
  49. }
  50. },
  51. {
  52. "pk": 6,
  53. "model": "example.product",
  54. "fields": {
  55. "name": "Rice Wine Vinegar"
  56. }
  57. },
  58. {
  59. "pk": 4,
  60. "model": "example.product",
  61. "fields": {
  62. "name": "Sweetcorn"
  63. }
  64. },
  65. {
  66. "pk": 5,
  67. "model": "example.product",
  68. "fields": {
  69. "name": "Szechuan Peppercorn"
  70. }
  71. },
  72. {
  73. "pk": 11,
  74. "model": "example.product",
  75. "fields": {
  76. "name": "Uncle Bob's Hot, Hot Sauce"
  77. }
  78. },
  79. {
  80. "pk": 1,
  81. "model": "example.order",
  82. "fields": {
  83. "customer": "Kermit the frog",
  84. "date": "2010-02-13"
  85. }
  86. },
  87. {
  88. "pk": 1,
  89. "model": "example.ordereditem",
  90. "fields": {
  91. "product": 1,
  92. "order": 1,
  93. "quantity": 5
  94. }
  95. },
  96. {
  97. "pk": 2,
  98. "model": "example.ordereditem",
  99. "fields": {
  100. "product": 3,
  101. "order": 1,
  102. "quantity": 1
  103. }
  104. },
  105. {
  106. "pk": 3,
  107. "model": "example.ordereditem",
  108. "fields": {
  109. "product": 7,
  110. "order": 1,
  111. "quantity": 1
  112. }
  113. }
  114. ]