author | fabien@tzone.org |
Tue, 30 Dec 2008 23:16:05 -0500 | |
changeset 66 | a0aa025ee6a2 |
parent 65 | b975a3d7606a |
permissions | -rw-r--r-- |
2 | 1 |
#!/usr/bin/python |
2 |
||
65
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
3 |
class DefaultConfig: |
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
4 |
def __init__(self): |
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
5 |
self.db_host = 'www.myhost.com' |
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
6 |
self.db_user = 'mydbuser' |
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
7 |
self.db_passwd = 'mypass' |
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
8 |
self.db_name = 'bookmarker3' |
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
9 |
self.db_port = 5432 |
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
10 |
self.template_dir = 'templates' |
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
11 |
|
b975a3d7606a
Partial submission, to include tests.
Fabien Ninoles <fabien@tzone.org>
parents:
64
diff
changeset
|
12 |
CONFIG = DefaultConfig() |