forge icon indicating copy to clipboard operation
forge copied to clipboard

Jinja2 Strict Mode

Open plombardi89 opened this issue 7 years ago • 1 comments

Jinja2 should error when it sees a variable in a template that it does not have defined. This would prevent empty interpolations from occurring.

plombardi89 avatar Sep 29 '17 17:09 plombardi89

Thanks for pointing this out, I didn't realize it existed. I've enabled warnings for now in 0.3.2 since this is an incompatible change, but I'll turn it into an error for 0.4

rhs avatar Sep 29 '17 19:09 rhs