Debian Patches

Status for django-json-widget/2.1.1-1

Patch Description Author Forwarded Bugs Origin Last update
0001-tests-locate-template-via-package-path-not-cwd.patch tests: locate template via package path, not cwd
test_template_exists built the expected template path from
os.getcwd(), which only resolves correctly when pytest is invoked
from the repository root. Running the suite from any other
directory or against an installed copy of the package, e.g.
in distros packaging CIn system would fail the assertion even though
the template is present.

Resolving the path through django_json_widget.__file__ makes the test
work regardless of the current working directory.
Pierre-Elliott Bécue <peb@debian.org> no 2026-05-07

All known versions for source package 'django-json-widget'

Links