diff --git a/debian/control b/debian/control index 6d4131e0..8c6d8c40 100644 --- a/debian/control +++ b/debian/control @@ -26,6 +26,7 @@ Depends: python3-cmislib, python3-lxml, python3-pdfrw, python3-pil, + python3-publik-django-templatetags, python3-pycryptodome, python3-pyexcel-io, python3-pyexcel-ods, diff --git a/passerelle/settings.py b/passerelle/settings.py index c7b77d9e..3626bbd6 100644 --- a/passerelle/settings.py +++ b/passerelle/settings.py @@ -102,6 +102,9 @@ TEMPLATES = [ 'django.contrib.messages.context_processors.messages', 'django.template.context_processors.request', ], + 'builtins': [ + 'publik_django_templatetags.publik.templatetags.publik', + ], }, }, ] diff --git a/tox.ini b/tox.ini index 948fb234..33d96511 100644 --- a/tox.ini +++ b/tox.ini @@ -49,6 +49,7 @@ deps = codestyle: pre-commit ldaptools python-ldap<=3.2 # align with Debian <= 11 (buster, bullseye) + git+https://git.entrouvert.org/publik-django-templatetags.git commands = ./get_wcs.sh py.test {posargs: --numprocesses {env:NUMPROCESSES:1} --dist loadfile {env:FAST:} {env:COVERAGE:} {env:JUNIT:} tests/} @@ -85,5 +86,6 @@ deps = responses mohawk ldaptools + git+https://git.entrouvert.org/publik-django-templatetags.git commands = ./pylint.sh passerelle/ tests/