PageRenderTime 36ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/tests/regressiontests/admin_widgets/fixtures/admin-widgets-users.xml

https://code.google.com/p/mango-py/
XML | 43 lines | 41 code | 2 blank | 0 comment | 0 complexity | dfa291fe64d4b500b5857663a97f6c26 MD5 | raw file
Possible License(s): BSD-3-Clause
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <django-objects version="1.0">
  3. <object pk="100" model="auth.user">
  4. <field type="CharField" name="username">super</field>
  5. <field type="CharField" name="first_name">Super</field>
  6. <field type="CharField" name="last_name">User</field>
  7. <field type="CharField" name="email">super@example.com</field>
  8. <field type="CharField" name="password">sha1$995a3$6011485ea3834267d719b4c801409b8b1ddd0158</field>
  9. <field type="BooleanField" name="is_staff">True</field>
  10. <field type="BooleanField" name="is_active">True</field>
  11. <field type="BooleanField" name="is_superuser">True</field>
  12. <field type="DateTimeField" name="last_login">2007-05-30 13:20:10</field>
  13. <field type="DateTimeField" name="date_joined">2007-05-30 13:20:10</field>
  14. <field to="auth.group" name="groups" rel="ManyToManyRel"></field>
  15. <field to="auth.permission" name="user_permissions" rel="ManyToManyRel"></field>
  16. </object>
  17. <object pk="101" model="auth.user">
  18. <field type="CharField" name="username">testser</field>
  19. <field type="CharField" name="first_name">Add</field>
  20. <field type="CharField" name="last_name">User</field>
  21. <field type="CharField" name="email">auser@example.com</field>
  22. <field type="CharField" name="password">sha1$995a3$6011485ea3834267d719b4c801409b8b1ddd0158</field>
  23. <field type="BooleanField" name="is_staff">True</field>
  24. <field type="BooleanField" name="is_active">True</field>
  25. <field type="BooleanField" name="is_superuser">False</field>
  26. <field type="DateTimeField" name="last_login">2007-05-30 13:20:10</field>
  27. <field type="DateTimeField" name="date_joined">2007-05-30 13:20:10</field>
  28. <field to="auth.group" name="groups" rel="ManyToManyRel"></field>
  29. <field to="auth.permission" name="user_permissions" rel="ManyToManyRel"></field>
  30. </object>
  31. <object pk="1" model="admin_widgets.car">
  32. <field to="auth.user" name="owner" rel="ManyToOneRel">100</field>
  33. <field type="CharField" name="make">Volkswagon</field>
  34. <field type="CharField" name="model">Passat</field>
  35. </object>
  36. <object pk="2" model="admin_widgets.car">
  37. <field to="auth.user" name="owner" rel="ManyToOneRel">101</field>
  38. <field type="CharField" name="make">BMW</field>
  39. <field type="CharField" name="model">M3</field>
  40. </object>
  41. </django-objects>