On 1/4/06, Robin Munn <[EMAIL PROTECTED]> wrote:
> Question: How do we get this thing in more-or-less declarative format?
> I'd like to be able to write:
>
> sqlobject.dburi = "sqlite:///my/database"
>
> instead of:
>
> set_option("sqlobject.dburi", "sqlite:///my/database")
It's really not too bad to use the standard, non-magical form.
cherrypy.config.update(
{
"global" : {
"sqlobject.dburi" : "foo.bar"
},
"/" : {
"somefilter" : "blah"
}
}
It's just a nested dictionary.
Kevin
)

