lib/config.py
author fabien@tzone.org
Wed, 31 Dec 2008 15:41:32 -0500
changeset 74 6784c4350b41
parent 65 b975a3d7606a
permissions -rw-r--r--
Cleanup of old code, fixes some errors with folders view and make it a standard action.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
4cb6d9f3d3eb [svn r1529] Mise � jour des fonctions d'acc�s � la DB.
fabien
parents:
diff changeset
     1
#!/usr/bin/python
4cb6d9f3d3eb [svn r1529] Mise � jour des fonctions d'acc�s � la DB.
fabien
parents:
diff changeset
     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()