[master] Minor rewording of process-template-context content.
This commit is contained in:
parent
75c5e25cec
commit
7a552b05da
|
@ -12,8 +12,8 @@ This event is emitted right before a template is rendered and can be used
|
||||||
to inject values directly into the template context. The context is always
|
to inject values directly into the template context. The context is always
|
||||||
provided and is a dictionary that can be modified.
|
provided and is a dictionary that can be modified.
|
||||||
|
|
||||||
What's important to know that this is not the only way to modify the template
|
It's important to know that this is not the only way to modify the template
|
||||||
context. Another one is to modify the underlying [Jinja Environment
|
context. Another method is to modify the underlying [Jinja Environment
|
||||||
:ref](../../../environment/jinja-env/) on the environment directly. The
|
:ref](../../../environment/jinja-env/) on the environment directly. The
|
||||||
difference is that the globals from the `jinja_env` are available in *all*
|
difference is that the globals from the `jinja_env` are available in *all*
|
||||||
templates whereas the modified template context is only available in the
|
templates whereas the modified template context is only available in the
|
||||||
|
|
Loading…
Reference in New Issue