view templates/minimal/initial_data.py @ 3266:09304fa9d78c maint-0.8

disable node creation if no properties are set
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Thu, 07 Apr 2005 06:28:51 +0000
parents 708ce3b664d4
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/