Premiere version : mise en route du suivi.
[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=''"critical", order="1")
6 pri.create(name=''"urgent", order="2")
7 pri.create(name=''"bug", order="3")
8 pri.create(name=''"feature", order="4")
9 pri.create(name=''"wish", order="5")
10
11 stat = db.getclass('status')
12 stat.create(name=''"unread", order="1")
13 stat.create(name=''"deferred", order="2")
14 stat.create(name=''"chatting", order="3")
15 stat.create(name=''"need-eg", order="4")
16 stat.create(name=''"in-progress", order="5")
17 stat.create(name=''"testing", order="6")
18 stat.create(name=''"done-cbb", order="7")
19 stat.create(name=''"resolved", order="8")
20
21 # create the two default users
22 user = db.getclass('user')
23 user.create(username="admin", password=adminpw,
24 address=admin_email, roles='Admin')
25 user.create(username="anonymous", roles='Anonymous')
26
27 # add any additional database creation steps here - but only if you
28 # haven't initialised the database with the admin "initialise" command
29
30
31 # vim: set filetype=python sts=4 sw=4 et si
32 #SHA: b1da2e72a7fe9f26086f243eb744135b085101d9