Mercurial > p > roundup > code
view templates/minimal/initial_data.py @ 3760:b8f52d030f1a
ignore common network errors, like "Connection reset by peer"
catch socket errors when sending http headers.
| author | Alexander Smishlajev <a1s@users.sourceforge.net> |
|---|---|
| date | Wed, 15 Nov 2006 06:27:15 +0000 |
| parents | 7308c3c5a943 |
| children |
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 creation steps here - but only if you # haven't initialised the database with the admin "initialise" command # vim: set et sts=4 sw=4 :
