Jinja SandboxedEnvironment and Zope2 Restricted Python

Jinja sandbox , and Zope 2 RestrictedPython seem to solve similar problems. Is there a way to add them, i.e. Use RestrictedPython policies in a Jinja environment? Use case: Retrofit Jinja templates with an existing Zope2 product to replace ZPT / TAL.

+5
source share
1 answer

Unfortunately no. Jinja and Zope implementations are very different from each other and not compatible.

+1
source

All Articles