comparison examples/tutorial/geddit/controller.py @ 632:c5e5801c32ac

GenshiTutorial: remove !EvalException left-over
author cmlenz
date Tue, 04 Sep 2007 20:49:32 +0000
parents e414dc0bca5c
children 19e8a05adc86
comparison
equal deleted inserted replaced
631:e414dc0bca5c 632:c5e5801c32ac
114 cherrypy.engine.on_stop_engine_list.append(_save_data) 114 cherrypy.engine.on_stop_engine_list.append(_save_data)
115 115
116 # Some global configuration; note that this could be moved into a 116 # Some global configuration; note that this could be moved into a
117 # configuration file 117 # configuration file
118 cherrypy.config.update({ 118 cherrypy.config.update({
119 'request.throw_errors': True,
120 'tools.encode.on': True, 'tools.encode.encoding': 'utf-8', 119 'tools.encode.on': True, 'tools.encode.encoding': 'utf-8',
121 'tools.decode.on': True, 120 'tools.decode.on': True,
122 'tools.trailing_slash.on': True, 121 'tools.trailing_slash.on': True,
123 'tools.staticdir.root': os.path.abspath(os.path.dirname(__file__)), 122 'tools.staticdir.root': os.path.abspath(os.path.dirname(__file__)),
124 }) 123 })
Copyright (C) 2012-2017 Edgewall Software