Suppression du lien vers la page d infos
[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')
5pri.create(name=''"critical", order="1")
6pri.create(name=''"urgent", order="2")
7pri.create(name=''"bug", order="3")
8pri.create(name=''"feature", order="4")
9pri.create(name=''"wish", order="5")
10
11stat = db.getclass('status')
12stat.create(name=''"unread", order="1")
13stat.create(name=''"deferred", order="2")
14stat.create(name=''"chatting", order="3")
15stat.create(name=''"need-eg", order="4")
16stat.create(name=''"in-progress", order="5")
17stat.create(name=''"testing", order="6")
18stat.create(name=''"done-cbb", order="7")
19stat.create(name=''"resolved", order="8")
20
21# create the two default users
22user = db.getclass('user')
23user.create(username="admin", password=adminpw,
24 address=admin_email, roles='Admin')
25user.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