How to override environments dict?

2 views
Skip to first unread message

Scott Chapman

unread,
Mar 19, 2008, 12:29:40 PM3/19/08
to cherryp...@googlegroups.com
What's the correct method to override the _cpconfig.environments
dictionary for local customizations?
I don't want to change the _cpconfig.py file.

Scott

Robert Brewer

unread,
Mar 19, 2008, 1:00:17 PM3/19/08
to cherryp...@googlegroups.com
> What's the correct method to override the _cpconfig.environments
> dictionary for local customizations?
> I don't want to change the _cpconfig.py file.

Just update the dict. See
http://www.cherrypy.org/wiki/ConfigAPI#environments (added just for you
;)


Robert Brewer
fuma...@aminus.org

Scott Chapman

unread,
Mar 19, 2008, 1:31:05 PM3/19/08
to cherryp...@googlegroups.com
Robert,
Thanks! I was looking for something more complicated (and I'm terribly
disappointed that you didn't make it complicated :)

Check out ticket 800 when you get a chance. I'd like to know what you
think of it.

Happy trails,
Scott

Reply all
Reply to author
Forward
0 new messages