view templates/minimal/initial_data.py @ 3078:2fee36128471

Fix test to account for changed interface to find().
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Wed, 05 Jan 2005 22:28:32 +0000
parents 45c65345e909
children 7308c3c5a943
line wrap: on
line source

#
# TRACKER DATABASE INITIALIZATION
#

# create the two default users
user = db.getclass('user')
user.create(username="admin", password=adminpw,
    address=admin_email, roles='Admin')
user.create(username="anonymous", roles='Anonymous')

# add any additional database create steps here - but only if you
# haven't initialised the database with the admin "initialise" command

# vim: set et sts=4 sw=4 :

Roundup Issue Tracker: http://roundup-tracker.org/