parts/django/tests/regressiontests/admin_widgets/fixtures/admin-widgets-users.xml
author Nishanth Amuluru <nishanth@fossee.in>
Sun, 09 Jan 2011 20:26:11 +0530
changeset 368 a4fa11b2cb5c
parent 307 c6bca38c1cbf
permissions -rw-r--r--
add textbook works fine

<?xml version="1.0" encoding="utf-8"?>
<django-objects version="1.0">
    <object pk="100" model="auth.user">
        <field type="CharField" name="username">super</field>
        <field type="CharField" name="first_name">Super</field>
        <field type="CharField" name="last_name">User</field>
        <field type="CharField" name="email">super@example.com</field>
        <field type="CharField" name="password">sha1$995a3$6011485ea3834267d719b4c801409b8b1ddd0158</field>
        <field type="BooleanField" name="is_staff">True</field>
        <field type="BooleanField" name="is_active">True</field>
        <field type="BooleanField" name="is_superuser">True</field>
        <field type="DateTimeField" name="last_login">2007-05-30 13:20:10</field>
        <field type="DateTimeField" name="date_joined">2007-05-30 13:20:10</field>
        <field to="auth.group" name="groups" rel="ManyToManyRel"></field>
        <field to="auth.permission" name="user_permissions" rel="ManyToManyRel"></field>
    </object>
    <object pk="101" model="auth.user">
        <field type="CharField" name="username">testser</field>
        <field type="CharField" name="first_name">Add</field>
        <field type="CharField" name="last_name">User</field>
        <field type="CharField" name="email">auser@example.com</field>
        <field type="CharField" name="password">sha1$995a3$6011485ea3834267d719b4c801409b8b1ddd0158</field>
        <field type="BooleanField" name="is_staff">True</field>
        <field type="BooleanField" name="is_active">True</field>
        <field type="BooleanField" name="is_superuser">False</field>
        <field type="DateTimeField" name="last_login">2007-05-30 13:20:10</field>
        <field type="DateTimeField" name="date_joined">2007-05-30 13:20:10</field>
        <field to="auth.group" name="groups" rel="ManyToManyRel"></field>
        <field to="auth.permission" name="user_permissions" rel="ManyToManyRel"></field>
    </object>
    
    <object pk="1" model="admin_widgets.car">
        <field to="auth.user" name="owner" rel="ManyToOneRel">100</field>
        <field type="CharField" name="make">Volkswagon</field>
        <field type="CharField" name="model">Passat</field>
    </object>
    <object pk="2" model="admin_widgets.car">
        <field to="auth.user" name="owner" rel="ManyToOneRel">101</field>
        <field type="CharField" name="make">BMW</field>
        <field type="CharField" name="model">M3</field>
    </object>

</django-objects>