comparison roundup/templates/classic/dbinit.py @ 1403:6eb8aae6d14e

Added users' timezone support (typo fix)
author Andrey Lebedev <kedder@users.sourceforge.net>
date Mon, 27 Jan 2003 16:40:37 +0000
parents 27586da5557c
children caae7d8934dc
comparison
equal deleted inserted replaced
1402:27586da5557c 1403:6eb8aae6d14e
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: dbinit.py,v 1.32 2003-01-27 16:32:50 kedder Exp $ 18 # $Id: dbinit.py,v 1.33 2003-01-27 16:40:37 kedder Exp $
19 19
20 import os 20 import os
21 21
22 import config 22 import config
23 from select_db import Database, Class, FileClass, IssueClass 23 from select_db import Database, Class, FileClass, IssueClass
65 address=String(), realname=String(), 65 address=String(), realname=String(),
66 phone=String(), organisation=String(), 66 phone=String(), organisation=String(),
67 alternate_addresses=String(), 67 alternate_addresses=String(),
68 queries=Multilink('query'), roles=String(), 68 queries=Multilink('query'), roles=String(),
69 timezone=String()) 69 timezone=String())
70 )
71 user.setkey("username") 70 user.setkey("username")
72 71
73 # FileClass automatically gets these properties: 72 # FileClass automatically gets these properties:
74 # content = String() [saved to disk in <tracker home>/db/files/] 73 # content = String() [saved to disk in <tracker home>/db/files/]
75 # (it also gets the Class properties creation, activity and creator) 74 # (it also gets the Class properties creation, activity and creator)

Roundup Issue Tracker: http://roundup-tracker.org/