Tutorial

 
Return to main page

Using WebError in repoze.bfg

Author: chrism
Date: 11/22/09 at 21:06:11

WebError is a useful in-browser debugging tool. To make use of it, edit your application's ".ini" file and change it to look something like the following. Then make sure to ``easy_install WebError``.
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
    [app:starter]
    use = egg:starter#app
    reload_templates = true
    debug_authorization = false
    debug_notfound = false
    
    [pipeline:main]
    pipeline =
       egg:weberror#evalerror
       starter