Mercurial > p > roundup > code
comparison roundup/templates/classic/__init__.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 | 0791d13baea7 |
comparison
equal
deleted
inserted
replaced
| 67:5b0406c37ccd | 68:5e71aaa87e5b |
|---|---|
| 1 # $Id: __init__.py,v 1.1 2001-07-23 23:28:43 richard Exp $ | 1 # $Id: __init__.py,v 1.2 2001-07-24 10:46:22 anthonybaxter Exp $ |
| 2 | 2 |
| 3 import sys | |
| 3 from instance_config import * | 4 from instance_config import * |
| 4 from dbinit import * | 5 try: |
| 6 from dbinit import * | |
| 7 except: | |
| 8 pass # in install dir (probably :) | |
| 5 from interfaces import * | 9 from interfaces import * |
| 6 | 10 |
| 7 # | 11 # |
| 8 # $Log: not supported by cvs2svn $ | 12 # $Log: not supported by cvs2svn $ |
| 13 # Revision 1.1 2001/07/23 23:28:43 richard | |
| 14 # Adding the classic template | |
| 15 # | |
| 9 # Revision 1.3 2001/07/23 23:16:01 richard | 16 # Revision 1.3 2001/07/23 23:16:01 richard |
| 10 # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff. | 17 # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff. |
| 11 # | 18 # |
| 12 # Revision 1.2 2001/07/23 04:33:21 anthonybaxter | 19 # Revision 1.2 2001/07/23 04:33:21 anthonybaxter |
| 13 # split __init__.py into 2. dbinit and instance_config. | 20 # split __init__.py into 2. dbinit and instance_config. |
