Closed CyberFox001 closed 1 year ago
This is not a bug in django-registration. In order to use expressions like site.name
or user.username
inside blocktranslate
, you must "bind" those expressions in the blocktranslate
tag. Please refer to the Django documentation for blocktranslate
for details.
Noted. Thanks.
On a website, I installed and configured django-registration with 2 steps registration.
On the e-mail sent by the app, the context variables are not rendered. For the subject and the body.
Example of subject template:
Result in the email subject:
Note: The content is translated to french.
Example of body template:
Result in the email body:
The website feature is installed and the website configured with name and domain.
django-registration version: 3.3 Django version: 4.1.10