示例#1
0
#!/usr/bin/env python
# Load the grandma user (a superuser) into the current database. She uses "test" as her password.

if __name__ == '__main__':
    from common import require_djangoproject, load_devilryadmin_fixture

    require_djangoproject()
    load_devilryadmin_fixture('grandma.json')
示例#2
0
#!/usr/bin/env python
# Load duckburgh users into the current database. All of them has "test" as password.

if __name__ == '__main__':
    from common import require_djangoproject, load_devilryadmin_fixture

    require_djangoproject()
    load_devilryadmin_fixture('duckburghusers.json')