|
alex.schenkman wrote:
> What are the differencies between these two modes:
> 'production' and 'development'? I couldn't find the
> answer in the documentation.
The CherryPy 3 answer:
>>> import cherrypy
>>> cherrypy._cpconfig.environments['production']
{'checker.on': False,
'engine.autoreload_on': False,
'tools.log_headers.on': False,
'request.show_tracebacks': False,
'log.screen': False}
The 'development' environment is the default in CherryPy 3,
so if you want to know how it behaves, just poke around:
>>> cherrypy.checker.on
True
>>> cherrypy.log.screen
True
I *believe* that none of the tools are on by default.
Robert Brewer
fumanchu aminus.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To post to this group, send email to cherrypy-users googlegroups.com To unsubscribe from this group, send email to cherrypy-users-unsubscribe googlegroups.com For more options, visit this group at http://groups.google.com/group/cherrypy-users?hl=en -~----------~----~----~----~------~----~------~--~---
|