diff options
author | ThiefMaster <adrian@planetcoding.net> | 2015-04-06 14:08:46 +0200 |
---|---|---|
committer | ThiefMaster <adrian@planetcoding.net> | 2015-04-06 14:19:43 +0200 |
commit | f22fdd5ffe81aab743f78290071b0aa506705533 (patch) | |
tree | bf84e880d33da554fe1416479694569e2e260e9c /docs | |
parent | 14936312c0755f811e73e691ab495e39afc6b7d8 (diff) | |
download | jinja2-f22fdd5ffe81aab743f78290071b0aa506705533.tar.gz |
Let the Environment override the Context
closes #404
Diffstat (limited to 'docs')
-rw-r--r-- | docs/api.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst index aaf262b..3fa8061 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -160,6 +160,13 @@ useful if you want to dig deeper into Jinja2 or :ref:`develop extensions in most cases, unless you need to modify the Python code a template compiles to. + .. attribute:: context_class + + The context used for templates. This should not be changed + in most cases, unless you need to modify internals of how + template variables are handled. For details, see + :class:`~jinja2.runtime.Context`. + .. automethod:: overlay([options]) .. method:: undefined([hint, obj, name, exc]) |