Bug 274
[auf_roundup.git] / share / roundup / templates / classic / initial_data.py
CommitLineData
c638d827
CR
1#
2# TRACKER INITIAL PRIORITY AND STATUS VALUES
3#
4pri = db.getclass('priority')
a19fcabe
CR
5pri.create(name=''"highest", order="1")
6pri.create(name=''"high", order="2")
7pri.create(name=''"normal", order="3")
c638d827
CR
8
9stat = db.getclass('status')
10stat.create(name=''"unread", order="1")
11stat.create(name=''"deferred", order="2")
12stat.create(name=''"chatting", order="3")
13stat.create(name=''"need-eg", order="4")
14stat.create(name=''"in-progress", order="5")
15stat.create(name=''"testing", order="6")
16stat.create(name=''"done-cbb", order="7")
17stat.create(name=''"resolved", order="8")
18
19# create the two default users
20user = db.getclass('user')
21user.create(username="admin", password=adminpw,
22 address=admin_email, roles='Admin')
23user.create(username="anonymous", roles='Anonymous')
24
25# add any additional database creation steps here - but only if you
26# haven't initialised the database with the admin "initialise" command
27
28
29# vim: set filetype=python sts=4 sw=4 et si
30#SHA: b1da2e72a7fe9f26086f243eb744135b085101d9