aboutsummaryrefslogtreecommitdiff
path: root/docs/api.rst
diff options
context:
space:
mode:
authorThiefMaster <adrian@planetcoding.net>2015-04-06 14:08:46 +0200
committerThiefMaster <adrian@planetcoding.net>2015-04-06 14:19:43 +0200
commitf22fdd5ffe81aab743f78290071b0aa506705533 (patch)
treebf84e880d33da554fe1416479694569e2e260e9c /docs/api.rst
parent14936312c0755f811e73e691ab495e39afc6b7d8 (diff)
downloadjinja-f22fdd5ffe81aab743f78290071b0aa506705533.tar.gz
Let the Environment override the Context
closes #404
Diffstat (limited to 'docs/api.rst')
-rw-r--r--docs/api.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/api.rst b/docs/api.rst
index aaf262b3..3fa80619 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])