view templates/minimal/initial_data.py @ 4049:c9a8a47c4666

Do not try to create empty nodes with a negative ID.
author Stefan Seefeld <stefan@seefeld.name>
date Thu, 19 Feb 2009 20:00:44 +0000
parents 7308c3c5a943
children
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 creation 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/