Bug 274
[auf_roundup.git] / share / roundup / templates / classic / initial_data.py
1 #
2 # TRACKER INITIAL PRIORITY AND STATUS VALUES
3 #
4 pri = db.getclass('priority')
5 pri.create(name=''"highest", order="1")
6 pri.create(name=''"high", order="2")
7 pri.create(name=''"normal", order="3")
8
9 stat = db.getclass('status')
10 stat.create(name=''"unread", order="1")
11 stat.create(name=''"deferred", order="2")
12 stat.create(name=''"chatting", order="3")
13 stat.create(name=''"need-eg", order="4")
14 stat.create(name=''"in-progress", order="5")
15 stat.create(name=''"testing", order="6")
16 stat.create(name=''"done-cbb", order="7")
17 stat.create(name=''"resolved", order="8")
18
19 # create the two default users
20 user = db.getclass('user')
21 user.create(username="admin", password=adminpw,
22 address=admin_email, roles='Admin')
23 user.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