PageRenderTime 31ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/tests/modeltests/test_client/fixtures/testdata.json

https://code.google.com/p/mango-py/
JSON | 56 lines | 56 code | 0 blank | 0 comment | 0 complexity | 85ddd6fa966e51e8c4ef241c92e8f7b2 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. [
  2. {
  3. "pk": "1",
  4. "model": "auth.user",
  5. "fields": {
  6. "username": "testclient",
  7. "first_name": "Test",
  8. "last_name": "Client",
  9. "is_active": true,
  10. "is_superuser": false,
  11. "is_staff": false,
  12. "last_login": "2006-12-17 07:03:31",
  13. "groups": [],
  14. "user_permissions": [],
  15. "password": "sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161",
  16. "email": "testclient@example.com",
  17. "date_joined": "2006-12-17 07:03:31"
  18. }
  19. },
  20. {
  21. "pk": "2",
  22. "model": "auth.user",
  23. "fields": {
  24. "username": "inactive",
  25. "first_name": "Inactive",
  26. "last_name": "User",
  27. "is_active": false,
  28. "is_superuser": false,
  29. "is_staff": false,
  30. "last_login": "2006-12-17 07:03:31",
  31. "groups": [],
  32. "user_permissions": [],
  33. "password": "sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161",
  34. "email": "testclient@example.com",
  35. "date_joined": "2006-12-17 07:03:31"
  36. }
  37. },
  38. {
  39. "pk": "3",
  40. "model": "auth.user",
  41. "fields": {
  42. "username": "staff",
  43. "first_name": "Staff",
  44. "last_name": "Member",
  45. "is_active": true,
  46. "is_superuser": false,
  47. "is_staff": true,
  48. "last_login": "2006-12-17 07:03:31",
  49. "groups": [],
  50. "user_permissions": [],
  51. "password": "sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161",
  52. "email": "testclient@example.com",
  53. "date_joined": "2006-12-17 07:03:31"
  54. }
  55. }
  56. ]