mirror of
https://github.com/Hopiu/django-tos.git
synced 2026-03-16 20:10:24 +00:00
Keep using blocktrans for Django 3 compatibility
This commit is contained in:
parent
1af6316b78
commit
679d71f3ac
1 changed files with 2 additions and 2 deletions
|
|
@ -2,9 +2,9 @@
|
|||
{% if note %}
|
||||
<h2>{{ note }}</h2>
|
||||
{% 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 }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue