lib/config.py
author fabien@tzone.org
Tue, 30 Dec 2008 23:32:33 -0500
changeset 67 652ff41518f3
parent 65 b975a3d7606a
permissions -rw-r--r--
Update index.py and config to use the right information.

#!/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()