Does not work with latest CKAN
thebe14 opened this issue · 1 comments
thebe14 commented
There is no render_jinja2
in ckan.lib.base
in the latest CKAN from branch master. Should we replace
from ckan.lib.base import render_jinja2
...
body = render_jinja2('emails/summary_email.txt', extra_vars)
with
from ckan.lib.base import render_snippet
...
body = render_snippet('emails/summary_email.txt', extra_vars)