Skip to content

Commit

Permalink
2375 switch jinja2 to use newstyle gettext
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed May 24, 2012
1 parent c4ee72d commit 385a64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/environment.py
Expand Up @@ -190,7 +190,7 @@ def template_loaded(template):
loader=PackageLoader('ckan', 'templates'),
extensions=['jinja2.ext.i18n']
)
env.install_gettext_callables(_, N_, newstyle=False)
env.install_gettext_callables(_, N_, newstyle=True)
config['pylons.app_globals'].jinja_env = env

# CONFIGURATION OPTIONS HERE (note: all config options will override
Expand Down

0 comments on commit 385a64a

Please sign in to comment.