The Global Namespace

Variables stored in the Environment.globals dict are special as theyare available for imported templates too, even if they are imported withoutcontext. This is the place where you can put variables and functionsthat should be available all the time. Additionally Template.globalsexist that are variables available to a specific template that are availableto all render() calls.