From 679d71f3ac189a51ca1cbf062698010d32895d7c Mon Sep 17 00:00:00 2001 From: blag Date: Mon, 26 Dec 2022 22:48:37 -0700 Subject: [PATCH] Keep using blocktrans for Django 3 compatibility --- tos/templates/tos/tos_check.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tos/templates/tos/tos_check.html b/tos/templates/tos/tos_check.html index 236067c..5626fc6 100644 --- a/tos/templates/tos/tos_check.html +++ b/tos/templates/tos/tos_check.html @@ -2,9 +2,9 @@ {% if note %}

{{ note }}

{% else %} - {% blocktranslate with tos_created=tos.created|date:"SHORT_DATE_FORMAT" %} + {% blocktrans with tos_created=tos.created|date:"SHORT_DATE_FORMAT" %} Terms of Service as of {{ tos_created }} - {% endblocktranslate %} + {% endblocktrans %} {% endif %} {{ tos.content|safe }}