Mercurial > p > roundup > code
view roundup/templates/classic/interfaces.py @ 68:5e71aaa87e5b
Added templatebuilder module.
two functions - one to pack up the html base, one to unpack it. Packed
up the two standard templates into htmlbases. Modified __init__ to
install them.
__init__.py magic was needed for the rather high levels of wierd import magic.
Reducing level of import magic == (good, future)
| author | Anthony Baxter <anthonybaxter@users.sourceforge.net> |
|---|---|
| date | Tue, 24 Jul 2001 10:46:22 +0000 |
| parents | 6ff85bc2dd56 |
| children | e8087fc26fee |
line wrap: on
line source
# $Id: interfaces.py,v 1.1 2001-07-23 23:28:43 richard Exp $ import instance_config from roundup import cgi_client, mailgw class Client(cgi_client.Client): ''' derives basic mail gateway implementation from the standard module, with any specific extensions ''' TEMPLATES = instance_config.TEMPLATES pass class MailGW(mailgw.MailGW): ''' derives basic mail gateway implementation from the standard module, with any specific extensions ''' ISSUE_TRACKER_EMAIL = instance_config.ISSUE_TRACKER_EMAIL ADMIN_EMAIL = instance_config.ADMIN_EMAIL MAILHOST = instance_config.MAILHOST # # $Log: not supported by cvs2svn $ # Revision 1.1 2001/07/23 23:16:01 richard # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff. # #
