coto/gae-boilerplate — pull request #116 by mooose (2012-08-12 19:19:33+00:00)
Title: make "base.html" a variable and use Basehandler.view for view variables in templates

In config.py is a new variable base_layout, which is used in all templates for the base.html.
base template can be changed in config.py and overwritten with set_base_layout(self, layout) function.

In Basehandler is a new self.view variable, which will automatically inserted into the jinja templates.
Setting values in a Basehandler like this:
self.view.var1 = "hello world"
can be used in templates just by using {{var1}}
Makes forwarding variable into the template much easier.