Mercurial > p > roundup > code
diff roundup/templates/extended/dbinit.py @ 617:edd210915e64
Alternate email addresses are now available for users.
See the MIGRATION file for info on how to activate the feature.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 15 Feb 2002 07:08:45 +0000 |
| parents | dce4c75bef5a |
| children | 2e70123bbf5a |
line wrap: on
line diff
--- a/roundup/templates/extended/dbinit.py Fri Feb 15 00:13:38 2002 +0000 +++ b/roundup/templates/extended/dbinit.py Fri Feb 15 07:08:45 2002 +0000 @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: dbinit.py,v 1.19 2002-01-14 02:20:15 richard Exp $ +# $Id: dbinit.py,v 1.20 2002-02-15 07:08:44 richard Exp $ import os @@ -63,7 +63,8 @@ user = Class(db, "user", username=String(), password=Password(), address=String(), realname=String(), - phone=String(), organisation=String()) + phone=String(), organisation=String(), + alternate_addresses=String()) user.setkey("username") msg = FileClass(db, "msg", @@ -173,6 +174,15 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.19 2002/01/14 02:20:15 richard +# . changed all config accesses so they access either the instance or the +# config attriubute on the db. This means that all config is obtained from +# instance_config instead of the mish-mash of classes. This will make +# switching to a ConfigParser setup easier too, I hope. +# +# At a minimum, this makes migration a _little_ easier (a lot easier in the +# 0.5.0 switch, I hope!) +# # Revision 1.18 2002/01/02 02:31:38 richard # Sorry for the huge checkin message - I was only intending to implement #496356 # but I found a number of places where things had been broken by transactions:
