diff options
Diffstat (limited to 'docs/sandbox.rst')
-rw-r--r-- | docs/sandbox.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sandbox.rst b/docs/sandbox.rst index bd8abcf..1222d02 100644 --- a/docs/sandbox.rst +++ b/docs/sandbox.rst @@ -17,7 +17,7 @@ SecurityError: access to attribute 'func_code' of 'function' object is unsafe. API --- -.. module:: jinja.sandbox +.. module:: jinja2.sandbox .. autoclass:: SandboxedEnvironment([options]) :members: is_safe_attribute, is_safe_callable, default_binop_table, @@ -77,7 +77,7 @@ operator symbols into callbacks performing the default operator behavior. This example shows how the power (``**``) operator can be disabled in Jinja:: - from jinja.sandbox import SandboxedEnvironment + from jinja2.sandbox import SandboxedEnvironment class MyEnvironment(SandboxedEnvironment): |