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