index.py.ex
author Fabien Niñoles <fabien@tzone.org>
Wed, 07 Jan 2009 17:26:18 -0500
changeset 77 52b13b0616b8
parent 68 c1f1491f098c
permissions -rw-r--r--
Correct quicklink template with the right parameters.

#!/usr/bin/python

if (__name__ == '__main__'):
	import sys
	sys.path.insert(0, "./lib")

from config import CONFIG

CONFIG.db_name = 'database_name'
CONFIG.db_user = 'my_user'
CONFIG.db_host = 'db.host.com'
CONFIG.db_passwd = 'secr3t.passwd'
# CONFIG.db_port = 5432

import xbelweb

if (__name__ == "__main__"):
	xbelweb.main()