5

Jinja's sandbox and the Zope 2 RestrictedPython seem to solve similar problems. Is there a way to layer them, i.e. use RestrictedPython policies in a Jinja environment? The use case is retrofitting Jinja templates to an existing Zope2-based product, to replace ZPT / TAL.

Alex Morega
  • 4,132
  • 1
  • 24
  • 25

1 Answers1

1

Unfortunately, no. Jinja's and Zope's implementations are highly different, and not interoperable.

ember arlynx
  • 3,129
  • 2
  • 20
  • 22