lib/config.py
author fabien@tzone.org
Tue, 30 Dec 2008 23:16:05 -0500
changeset 66 a0aa025ee6a2
parent 65 b975a3d7606a
permissions -rw-r--r--
New version with tester.

#!/usr/bin/python

class DefaultConfig:
    def __init__(self):
        self.db_host = 'www.myhost.com'
        self.db_user = 'mydbuser'
        self.db_passwd = 'mypass'
        self.db_name = 'bookmarker3'
        self.db_port = 5432
        self.template_dir = 'templates'

CONFIG = DefaultConfig()