Skip to content

extension

PsycopgExtension

Bases: Extension

Wraps all expressions with the psycopg filter,

so {{ variable | filter1 | filter2 }}

becomes {{ (variable | filter1 | filter2) | psycopg }}

Inspired by jinjasql