Mercurial > p > roundup > code
annotate roundup/templates/classic/__init__.py @ 127:0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 29 Jul 2001 07:01:39 +0000 |
| parents | 5e71aaa87e5b |
| children | d45384bc6420 |
| rev | line source |
|---|---|
|
127
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
1 # $Id: __init__.py,v 1.3 2001-07-29 07:01:39 richard Exp $ |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
2 |
|
68
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
57
diff
changeset
|
3 import sys |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
4 from instance_config import * |
|
68
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
57
diff
changeset
|
5 try: |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
57
diff
changeset
|
6 from dbinit import * |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
57
diff
changeset
|
7 except: |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
57
diff
changeset
|
8 pass # in install dir (probably :) |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
9 from interfaces import * |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
10 |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
11 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
12 # $Log: not supported by cvs2svn $ |
|
127
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
13 # Revision 1.2 2001/07/24 10:46:22 anthonybaxter |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
14 # Added templatebuilder module. two functions - one to pack up the html base, |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
15 # one to unpack it. Packed up the two standard templates into htmlbases. |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
16 # Modified __init__ to install them. |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
17 # |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
18 # __init__.py magic was needed for the rather high levels of wierd import magic. |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
19 # Reducing level of import magic == (good, future) |
|
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
20 # |
|
68
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
57
diff
changeset
|
21 # Revision 1.1 2001/07/23 23:28:43 richard |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
57
diff
changeset
|
22 # Adding the classic template |
|
5e71aaa87e5b
Added templatebuilder module.
Anthony Baxter <anthonybaxter@users.sourceforge.net>
parents:
57
diff
changeset
|
23 # |
|
57
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
24 # Revision 1.3 2001/07/23 23:16:01 richard |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
25 # Split off the interfaces (CGI, mailgw) into a separate file from the DB stuff. |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
26 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
27 # Revision 1.2 2001/07/23 04:33:21 anthonybaxter |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
28 # split __init__.py into 2. dbinit and instance_config. |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
29 # |
|
6ff85bc2dd56
Adding the classic template
Richard Jones <richard@users.sourceforge.net>
parents:
diff
changeset
|
30 # |
|
127
0791d13baea7
Added vim command to all source so that we don't get no steenkin' tabs :)
Richard Jones <richard@users.sourceforge.net>
parents:
68
diff
changeset
|
31 # vim: set filetype=python ts=4 sw=4 et si |
