Found my own answer:

http://www.cherrypy.org/trunk/docs/book/chunk/ch03s03.html

3.3.5.1. cherrypy.config.get(key, defaultValue = None, returnSection =
False)

Usage looks something like dev.cfg:
[global]

...
# PROJECT
quickbind.upload_dir =
'/Users/gcarothers/Documents/Programing/qb-upload/'

...


then in my case model.py:

UPLOAD_DIR = cherrypy.config.get('quickbind.upload_dir')

--Gavin

Reply via email to