Skip to content

Commit

Permalink
[#2375] jinja2 add {% with .. %} tag
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jun 11, 2012
1 parent 723c87c commit 618580b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/config/environment.py
Expand Up @@ -195,7 +195,7 @@ def template_loaded(template):
env = config['pylons.app_globals'].jinja_env = Environment(
loader=PackageLoader('ckan', 'templates'),
autoescape=True,
extensions=['jinja2.ext.i18n', 'jinja2.ext.do',
extensions=['jinja2.ext.i18n', 'jinja2.ext.do', 'jinja2.ext.with_',
lib.jinja_tags.SnippetExtension,
lib.jinja_tags.UrlForExtension]
)
Expand Down

0 comments on commit 618580b

Please sign in to comment.