自定义 allauth django 项目的 email_confirmation_message.txt 出错怎么办?
Customizing email_confirmation_message.txt of allauth django project gives error what to do?
第 7 行的块标记无效:'endblocktrans',应为 'endautoescape'。您是否忘记注册或加载此标签?
{% load account %}{% user_display user as user_display %}{% load i18n %}\
{% autoescape off %}{% blocktrans with site_name=current_site.name
site_domain=current_site.domain %}Hi from {{ site_name }}!
You're receiving this e-mail because user {{ user_display }} has given
yours as an e-mail address to connect their account.
To confirm this is correct, go to {{ activate_url }}
{% endblocktrans %}{% endautoescape %}
{% blocktrans with site_name=current_site.name site_domain=current_site\
.domain %}Thank you from {{ site_name }}!
{{ site_domain }}{% endblocktrans %}
你尝试了吗?
{% load i18n %}
{% load account %}
{% user_display user as user_display %}
{% autoescape off %}
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %}
Hi from {{ site_name }}!
You are receiving this e-mail because user {{ user_display }} has given yours as an e-mail address to connect their account.
To confirm this is correct, go to {{ activate_url }}
{% endblocktrans %}
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %}
Thank you from {{ site_name }}!
{{ site_domain }}
{% endblocktrans %}
{% endautoescape %}
第 7 行的块标记无效:'endblocktrans',应为 'endautoescape'。您是否忘记注册或加载此标签?
{% load account %}{% user_display user as user_display %}{% load i18n %}\
{% autoescape off %}{% blocktrans with site_name=current_site.name
site_domain=current_site.domain %}Hi from {{ site_name }}!
You're receiving this e-mail because user {{ user_display }} has given
yours as an e-mail address to connect their account.
To confirm this is correct, go to {{ activate_url }}
{% endblocktrans %}{% endautoescape %}
{% blocktrans with site_name=current_site.name site_domain=current_site\
.domain %}Thank you from {{ site_name }}!
{{ site_domain }}{% endblocktrans %}
你尝试了吗?
{% load i18n %}
{% load account %}
{% user_display user as user_display %}
{% autoescape off %}
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %}
Hi from {{ site_name }}!
You are receiving this e-mail because user {{ user_display }} has given yours as an e-mail address to connect their account.
To confirm this is correct, go to {{ activate_url }}
{% endblocktrans %}
{% blocktrans with site_name=current_site.name site_domain=current_site.domain %}
Thank you from {{ site_name }}!
{{ site_domain }}
{% endblocktrans %}
{% endautoescape %}