Debug output - showing information from the rendering context,
and edit site.html
to test own expressions:
Checking some href information:
req.path_info: ${repr(req.path_info)}
req.base_path: ${repr(req.base_path)}
req.href(): ${repr(req.href())}
req.base_url: ${repr(req.base_url)}
req.abs_href(): ${repr(req.abs_href())}
Try using reg.hef(): ${req.href('wiki')}
req.args: ${repr(req.args)}
Test fetching an element: ${select('div[@id="mainnav"]')}
perm for ${perm.username}: ${repr(perm.permissions())}
project: ${repr(project)}
trac: ${repr(trac or 'not defined')}
context: ${repr(context)}
context members: ${repr(b_dir(context))}
context __dict__:
req.environ:
req members: ${repr(b_dir(req))}
req __dict__:
all objects from locals().['__data__']:
__builtins__:
sys.path:
${pprint(sys.path)}