add_jinja2_extension creates new environment, killing the existing one #34

Closed
rbu opened this Issue Jul 24, 2012 · 1 comment

Projects

None yet

3 participants

@rbu

Calling config.add_jinja2_extension("extension") will unregister the existing Jinja2 enviornment and recreate it from scratch, killing all the changes that may have happened to the environment, such as added filters or other gettext callables. This is rather unexpected and does not even create any log output, which makes this very hard to spot.

@dwt

Oh, I'm seeing this issue too! Can you give an estimate when this will be fixed?

@domenkozar domenkozar added a commit that closed this issue Sep 12, 2012
@domenkozar domenkozar fixes #34 d7f5659
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment