app/django/contrib/auth/fixtures/authtestdata.json
author Sverre Rabbelier <srabbelier@gmail.com>
Sun, 02 Nov 2008 22:50:22 +0000
changeset 432 1851d67a1004
parent 323 ff1a9aa48cfd
permissions -rw-r--r--
Add a generic method for getting a Keyname This patch will make logic/key_name.py obsolete in the future when everything is compliant with base.logic. This also makes the naming of already compliant logic modules generic and also fixes the _name field to be consistent with the naming in key_name.py. Note: This does not use Group/Sponsor, Group/School, Group/Organisation or Group/Club. Patch by: "Lennard de Rijk" <rijk0214@gmail.com> Reviewed by: Sverre Rabbelier

[
    {
        "pk": "1", 
        "model": "auth.user", 
        "fields": {
            "username": "testclient", 
            "first_name": "Test", 
            "last_name": "Client", 
            "is_active": true, 
            "is_superuser": false, 
            "is_staff": false, 
            "last_login": "2006-12-17 07:03:31", 
            "groups": [], 
            "user_permissions": [], 
            "password": "sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161", 
            "email": "testclient@example.com", 
            "date_joined": "2006-12-17 07:03:31"
        }
    },
    {
        "pk": "2", 
        "model": "auth.user", 
        "fields": {
            "username": "inactive", 
            "first_name": "Inactive", 
            "last_name": "User", 
            "is_active": false, 
            "is_superuser": false, 
            "is_staff": false, 
            "last_login": "2006-12-17 07:03:31", 
            "groups": [], 
            "user_permissions": [], 
            "password": "sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161", 
            "email": "testclient@example.com", 
            "date_joined": "2006-12-17 07:03:31"
        }
    },
    {
        "pk": "3", 
        "model": "auth.user", 
        "fields": {
            "username": "staff", 
            "first_name": "Staff", 
            "last_name": "Member", 
            "is_active": true, 
            "is_superuser": false, 
            "is_staff": true, 
            "last_login": "2006-12-17 07:03:31", 
            "groups": [], 
            "user_permissions": [], 
            "password": "sha1$6efc0$f93efe9fd7542f25a7be94871ea45aa95de57161", 
            "email": "staffmember@example.com", 
            "date_joined": "2006-12-17 07:03:31"
        }
    }
]