PageRenderTime 56ms CodeModel.GetById 39ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/regressiontests/comment_tests/fixtures/comment_tests.json

https://code.google.com/p/mango-py/
JSON | 53 lines | 52 code | 1 blank | 0 comment | 0 complexity | a22ebb9efeac9cacce5189a210d28bc3 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. [
  2. {
  3. "model" : "comment_tests.book",
  4. "pk" : 1,
  5. "fields" : {
  6. "dewey_decimal" : "12.34"
  7. }
  8. },
  9. {
  10. "model" : "comment_tests.author",
  11. "pk" : 1,
  12. "fields" : {
  13. "first_name" : "John",
  14. "last_name" : "Smith"
  15. }
  16. },
  17. {
  18. "model" : "comment_tests.author",
  19. "pk" : 2,
  20. "fields" : {
  21. "first_name" : "Peter",
  22. "last_name" : "Jones"
  23. }
  24. },
  25. {
  26. "model" : "comment_tests.article",
  27. "pk" : 1,
  28. "fields" : {
  29. "author" : 1,
  30. "headline" : "Man Bites Dog"
  31. }
  32. },
  33. {
  34. "model" : "comment_tests.article",
  35. "pk" : 2,
  36. "fields" : {
  37. "author" : 2,
  38. "headline" : "Dog Bites Man"
  39. }
  40. },
  41. {
  42. "model" : "auth.user",
  43. "pk" : 100,
  44. "fields" : {
  45. "username" : "normaluser",
  46. "password" : "34ea4aaaf24efcbb4b30d27302f8657f",
  47. "first_name": "Joe",
  48. "last_name": "Normal",
  49. "email": "joe.normal@example.com"
  50. }
  51. }
  52. ]