flosch/pongo2 — pull request #32 by fromYukki (2014-09-18 08:11:02+00:00)
Title: Global variables

Hello
I am glad to present **Global variables**.
Just run `pongo2.RegisterGlobal("variable_name", "value")` and you will get access to it in any template.
This can be useful if you have variables common to all templates and they will not changed with time of execution.
For example: app version, list of languages, or event pointer to any structure
Thank you