Allow specification of jinja2.undefined in settings #41

Merged
merged 2 commits into from Oct 16, 2012

Conversation

Projects
None yet
2 participants
Contributor

rbu commented Oct 15, 2012

See http://jinja.pocoo.org/docs/api/#undefined-types

adds setting

jinja2.undefined = strict
jinja2.undefined = debug

Default is Undefined as is.

Member

domenkozar commented Oct 15, 2012

Nice! 🍻 Can you also update documentation and changelog?

Contributor

rbu commented Oct 15, 2012

done

Contributor

rbu commented Oct 15, 2012

Also, you might consider adding the strict option to the development.ini scaffold so errors can be spotted early on

Member

domenkozar commented Oct 16, 2012

Thanks!

domenkozar added a commit that referenced this pull request Oct 16, 2012

Merge pull request #41 from rbu/undefined-setting
Allow specification of jinja2.undefined in settings

@domenkozar domenkozar merged commit 536f669 into Pylons:master Oct 16, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment