Config is now available in templates, context processors no longer override keys

This commit is contained in:
Armin Ronacher 2010-07-13 23:30:29 +02:00
parent ed16ae2183
commit aa3d8398fd
5 changed files with 47 additions and 1 deletions

View file

@ -30,6 +30,14 @@ how other systems handle request pre- and postprocessing. If you
dependend on the order of execution of post-request functions, be sure to
change the order.
Another change that breaks backwards compatibility is that context
processors will no longer override values passed directly to the template
rendering function. If for example `request` is as variable passed
directly to the template, the default context processor will not override
it with the current request object. This makes it easier to extend
context processors later to inject additional variables without breaking
existing template not expecting them.
Version 0.5
-----------