Add i18n to builtin template tags.

This commit is contained in:
Víðir Valberg Guðmundsson 2023-10-02 21:19:25 +02:00
parent f42101c476
commit 25445e59cf
2 changed files with 3 additions and 2 deletions

View file

@ -50,8 +50,6 @@ repos:
rev: v3.1.0 rev: v3.1.0
hooks: hooks:
- id: add-trailing-comma - id: add-trailing-comma
args:
- --py36-plus
- repo: https://github.com/hadialqattan/pycln - repo: https://github.com/hadialqattan/pycln
rev: v2.2.2 rev: v2.2.2
hooks: hooks:

View file

@ -82,6 +82,9 @@ TEMPLATES = [
"django.contrib.auth.context_processors.auth", "django.contrib.auth.context_processors.auth",
"django.contrib.messages.context_processors.messages", "django.contrib.messages.context_processors.messages",
], ],
"builtins": [
"django.templatetags.i18n",
],
}, },
}, },
] ]