misc: load publik-django-templatetags (#72777)

This commit is contained in:
Frédéric Péters 2022-12-25 14:49:42 +01:00
parent 76fd2fa979
commit a07ccb295c
3 changed files with 6 additions and 0 deletions

1
debian/control vendored
View File

@ -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,

View File

@ -102,6 +102,9 @@ TEMPLATES = [
'django.contrib.messages.context_processors.messages',
'django.template.context_processors.request',
],
'builtins': [
'publik_django_templatetags.publik.templatetags.publik',
],
},
},
]

View File

@ -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/