defnull/bottle — pull request #306 by pendulm (2012-04-02 07:09:31+00:00)
Title: template export it's namespace to subtemplate

sometimes It's convenient for export current namespace when rebase or include.

explicit set the option `bottle.SimpleTemplate.settings['export_env']` to `True` to enable this behavior.

subtemplate can overide the parent's namespace if they both defined same argument.

current this option is global for whole rendering process. The behavior can't change in subtemplate rendering.