PageRenderTime 82ms CodeModel.GetById 40ms app.highlight 2ms RepoModel.GetById 38ms 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
 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    
32    <object pk="1" model="admin_widgets.car">
33        <field to="auth.user" name="owner" rel="ManyToOneRel">100</field>
34        <field type="CharField" name="make">Volkswagon</field>
35        <field type="CharField" name="model">Passat</field>
36    </object>
37    <object pk="2" model="admin_widgets.car">
38        <field to="auth.user" name="owner" rel="ManyToOneRel">101</field>
39        <field type="CharField" name="make">BMW</field>
40        <field type="CharField" name="model">M3</field>
41    </object>
42
43</django-objects>