view templates/minimal/initial_data.py @ 3061:b0f5ea4e4dff

First fixes for Python 2.1 compatibility: * don't use booleans * don't use a string > 1 char with 'in' * use has_key instead of 'in' for dictionaries
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Wed, 05 Jan 2005 21:50:03 +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/