diff templates/minimal/initial_data.py @ 2779:45c65345e909

migrate to new layout
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Mon, 18 Oct 2004 08:57:36 +0000
parents
children 7308c3c5a943
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/templates/minimal/initial_data.py	Mon Oct 18 08:57:36 2004 +0000
@@ -0,0 +1,14 @@
+#
+# 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/