Mercurial > p > roundup > code
view templates/minimal/initial_data.py @ 2852:37e6ebd5ba29
when preloading trackers (not running in 'debug' mode)...
...open the trackers with 'optimize' parameter set.
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Tue, 02 Nov 2004 10:02:05 +0000 |
| parents | 45c65345e909 |
| children | 7308c3c5a943 |
line wrap: on
line source
# # TRACKER DATABASE INITIALIZATION # # create the two default users user = db.getclass('user') user.create(username="admin", password=adminpw, address=admin_email, roles='Admin') user.create(username="anonymous", roles='Anonymous') # add any additional database create steps here - but only if you # haven't initialised the database with the admin "initialise" command # vim: set et sts=4 sw=4 :
