Mercurial > p > roundup > code
comparison templates/classic/initial_data.py @ 3133:708ce3b664d4 maint-0.8
merge from HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sat, 12 Feb 2005 00:59:47 +0000 |
| parents | a9e1fff1e793 |
| children | 9e07a5642dd0 |
comparison
equal
deleted
inserted
replaced
| 3131:96086801bd61 | 3133:708ce3b664d4 |
|---|---|
| 22 user = db.getclass('user') | 22 user = db.getclass('user') |
| 23 user.create(username="admin", password=adminpw, | 23 user.create(username="admin", password=adminpw, |
| 24 address=admin_email, roles='Admin') | 24 address=admin_email, roles='Admin') |
| 25 user.create(username="anonymous", roles='Anonymous') | 25 user.create(username="anonymous", roles='Anonymous') |
| 26 | 26 |
| 27 # add any additional database create steps here - but only if you | 27 # add any additional database creation steps here - but only if you |
| 28 # haven't initialised the database with the admin "initialise" command | 28 # haven't initialised the database with the admin "initialise" command |
| 29 | 29 |
| 30 | 30 |
| 31 # vim: set filetype=python sts=4 sw=4 et si | 31 # vim: set filetype=python sts=4 sw=4 et si |
| 32 #SHA: b1da2e72a7fe9f26086f243eb744135b085101d9 | 32 #SHA: b1da2e72a7fe9f26086f243eb744135b085101d9 |
