comparison roundup/templates/classic/dbinit.py @ 188:1536be43d2fa

Roundupdb now appends "mailing list" information to its messages... ...which include the e-mail address and web interface address. Templates may override this in their db classes to include specific information (support instructions, etc).
author Richard Jones <richard@users.sourceforge.net>
date Thu, 02 Aug 2001 06:38:17 +0000
parents 0791d13baea7
children d45384bc6420
comparison
equal deleted inserted replaced
187:0384459b2486 188:1536be43d2fa
1 # $Id: dbinit.py,v 1.4 2001-07-29 07:01:39 richard Exp $ 1 # $Id: dbinit.py,v 1.5 2001-08-02 06:38:17 richard Exp $
2 2
3 import os 3 import os
4 4
5 import instance_config 5 import instance_config
6 from roundup import roundupdb, cgi_client, mailgw 6 from roundup import roundupdb, cgi_client, mailgw
16 pass 16 pass
17 17
18 class IssueClass(roundupdb.IssueClass): 18 class IssueClass(roundupdb.IssueClass):
19 ''' issues need the email information 19 ''' issues need the email information
20 ''' 20 '''
21 ISSUE_TRACKER_WEB = instance_config.ISSUE_TRACKER_WEB
21 ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL 22 ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL
22 ADMIN_EMAIL = instance_config.ADMIN_EMAIL 23 ADMIN_EMAIL = instance_config.ADMIN_EMAIL
23 MAILHOST = instance_config.MAILHOST 24 MAILHOST = instance_config.MAILHOST
24 25
25 26
105 106
106 db.close() 107 db.close()
107 108
108 # 109 #
109 # $Log: not supported by cvs2svn $ 110 # $Log: not supported by cvs2svn $
111 # Revision 1.4 2001/07/29 07:01:39 richard
112 # Added vim command to all source so that we don't get no steenkin' tabs :)
113 #
110 # Revision 1.3 2001/07/24 10:46:22 anthonybaxter 114 # Revision 1.3 2001/07/24 10:46:22 anthonybaxter
111 # Added templatebuilder module. two functions - one to pack up the html base, 115 # Added templatebuilder module. two functions - one to pack up the html base,
112 # one to unpack it. Packed up the two standard templates into htmlbases. 116 # one to unpack it. Packed up the two standard templates into htmlbases.
113 # Modified __init__ to install them. 117 # Modified __init__ to install them.
114 # 118 #

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