ckan / ckanext-harvest

Remote harvesting extension for CKAN
130 stars 203 forks source link

Does not work with latest CKAN #455

Closed thebe14 closed 2 years ago

thebe14 commented 2 years ago

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)
Zharktas commented 2 years ago

Fixed in #459