Changeset 3834
- Timestamp:
- 12/17/07 19:27:07 (1 year ago)
- Files:
-
- trunk/README-tests.txt (deleted)
- trunk/tg/templates/turbogears/+package+/config/middleware.py_tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tg/templates/turbogears/+package+/config/middleware.py_tmpl
r3832 r3834 54 54 55 55 if asbool(full_stack): 56 # Stack httpexceptions middleware so redirect, abort, etc.. work 57 # XXX: Why doesn't Pylons stack this internally anymore?? 58 app = httpexceptions.make_middleware(app) 59 56 60 # Handle Python exceptions 57 61 app = ErrorHandler(app, global_conf, error_template=error_template, … … 61 65 # 500 when debug is disabled) 62 66 app = ErrorDocuments(app, global_conf, mapper=error_mapper, **app_conf) 63 64 # Stack httpexceptions middleware so redirect, abort, etc.. work65 # XXX: Why doesn't Pylons stack this internally?66 app = httpexceptions.make_middleware(app)67 67 68 68 # Establish the Registry for this application