django-shop
django-shop copied to clipboard
Error sending email about the purchase
TemplateSyntaxError: 'html_email' is not a registered tag library.
Which version of django-SHOP and django-post_office are you using? Check your settings, you should have
POST_OFFICE = {
'TEMPLATE_ENGINE': 'post_office',
}
django-post-office==3.2.1 django-shop==1.0.2
POST_OFFICE = {
'TEMPLATE_ENGINE': 'post_office',
}
POST_OFFICE is in settings
I checked post-office templatetags - there is no such tag html_email
It would be helpful to know, which template file is referring the templatetag html_email
.
project name = garantum garantum/garantum/templates/garantum/email/base.html
{% extends "shop/email/base.html" %}
{% load html_email %}
{% block email-logo %}
<img src="{% image_src 'garantum/django-shop-logo.png' %}" width="200" style="margin: 20px auto; display: block;" />
{% endblock %}
{% endcomment %}
I would like to thank You for a wonderful project. I was able to launch the site in a couple of weeks. Sorry for bad English ) https://garantum.ru
The template garantum/garantum/templates/garantum/email/base.html
seem to be from your own project. So you must fix it there.