/tests/modeltests/fixtures/fixtures/fixture1.json

https://code.google.com/p/mango-py/ · JSON · 34 lines · 34 code · 0 blank · 0 comment · 0 complexity · 89680779ecab8e17c71b3812484f9bf3 MD5 · raw file

  1. [
  2. {
  3. "pk": 1,
  4. "model": "sites.site",
  5. "fields": {
  6. "domain": "example.com",
  7. "name": "example.com"
  8. }
  9. },
  10. {
  11. "pk": "2",
  12. "model": "fixtures.article",
  13. "fields": {
  14. "headline": "Poker has no place on ESPN",
  15. "pub_date": "2006-06-16 12:00:00"
  16. }
  17. },
  18. {
  19. "pk": "3",
  20. "model": "fixtures.article",
  21. "fields": {
  22. "headline": "Time to reform copyright",
  23. "pub_date": "2006-06-16 13:00:00"
  24. }
  25. },
  26. {
  27. "pk": 1,
  28. "model": "fixtures.category",
  29. "fields": {
  30. "description": "Latest news stories",
  31. "title": "News Stories"
  32. }
  33. }
  34. ]