Mercurial > p > roundup > code
annotate 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 |
| rev | line source |
|---|---|
|
68
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
1 # $Id: __init__.py,v 1.4 2001-07-24 10:46:22 anthonybaxter Exp $ |
|
28
a3e119154b11
moved templates to proper location
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
2 |
|
36
41e49de57a85
split __init__.py into 2. dbinit and instance_config.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
28
diff
changeset
|
3 from instance_config import * |
|
68
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
4 try: |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
5 from dbinit import * |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
6 except ImportError: |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
7 pass # in installdir (probably :) |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
8 |
|
55
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
36
diff
changeset
|
9 from interfaces import * |
|
28
a3e119154b11
moved templates to proper location
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
10 |
|
36
41e49de57a85
split __init__.py into 2. dbinit and instance_config.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
28
diff
changeset
|
11 # |
|
41e49de57a85
split __init__.py into 2. dbinit and instance_config.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
28
diff
changeset
|
12 # $Log: not supported by cvs2svn $ |
|
68
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
13 # Revision 1.3 2001/07/23 23:16:01 richard |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
14 # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff. |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
55
diff
changeset
|
15 # |
|
55
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
36
diff
changeset
|
16 # Revision 1.2 2001/07/23 04:33:21 anthonybaxter |
|
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
36
diff
changeset
|
17 # split __init__.py into 2. dbinit and instance_config. |
|
28
a3e119154b11
moved templates to proper location
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
diff
changeset
|
18 # |
|
55
bd7be96eb56d
Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff.
Richard Jones <richard@users.sourceforge.net>
parents:
36
diff
changeset
|
19 # |
