{% load i18n humanize %} {% autoescape off %} {% blocktrans with last_login_date=user.last_login|naturaltime %} Hi {{ user.get_full_name }}, Your last logging was {{ last_login_date }}. In order to keep your account, you must log in within {{ days_to_deletion }} days. Otherwise, it will be deleted after this time. {% endblocktrans %}{% endautoescape %}