Package: python-django / 3:4.2.27-2

Metadata

Package Version Patches format
python-django 3:4.2.27-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 disable sources in sphinxdoc.diff | (download)

docs/conf.py | 5 4 + 1 - 0 !
1 file changed, 4 insertions(+), 1 deletion(-)

 disable creation of _sources directory by sphinx

 We do this to save some space as the sources of the documentation
 are not really useful in a binary package.
 .
 This is a Debian specific patch.
0002 use_debian_geoip_database_as_default.diff | (download)

django/contrib/gis/geoip2/base.py | 9 6 + 3 - 0 !
1 file changed, 6 insertions(+), 3 deletions(-)

 use debian geoip database path as default

 Default to Debian standard path for GeoIP directory and for GeoIP city
 file. Avoids the need to declare them in each project.
 .
 This is a Debian specific patch.
Bug-Debian: http://bugs.debian.org/645094
0004 Use locally installed documentation sources.patch | (download)

docs/conf.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 use locally installed documentation sources


0004 Set the default shebang to new projects to use Pytho.patch | (download)

django/conf/project_template/manage.py-tpl | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 set the default shebang to new projects to use python 3.


py313 test help default options with custom arguments.patch | (download)

django/utils/version.py | 1 1 + 0 - 0 !
tests/admin_scripts/tests.py | 16 11 + 5 - 0 !
2 files changed, 12 insertions(+), 5 deletions(-)

 refs #34900 -- fixed
 CommandTypes.test_help_default_options_with_custom_arguments test on Python
 3.13+.

https://github.com/python/cpython/commit/c4a2e8a2c5188c3288d57b80852e92c83f46f6f3

postgresql 18 skip not null constraints.patch | (download)

django/db/backends/postgresql/introspection.py | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 skipped not null constraints on postgresql 18+.

PostgreSQL 18+ stores column "NOT NULL" specifications in pg_constraint.

https://www.postgresql.org/docs/release/18.0/

py314 test runner parallel.patch | (download)

tests/test_runner/test_discover_runner.py | 1 1 + 0 - 0 !
tests/test_runner/tests.py | 5 5 + 0 - 0 !
2 files changed, 6 insertions(+)

 refs #35844 -- fixed tests for test --parallel option on python
 3.14+.

"forkserver" is the new default on POSIX systems, and Django doesn't
support parallel tests with "forkserver":

https://github.com/python/cpython/commit/b65f2cdfa77d8d12c213aec663ddaaa30d75a4b2

py314 copy BaseContext.patch | (download)

django/template/context.py | 4 3 + 1 - 0 !
tests/template_tests/test_context.py | 8 8 + 0 - 0 !
2 files changed, 11 insertions(+), 1 deletion(-)

 refs #35844 -- fixed copying basecontext and its subclasses on
 Python 3.14+.

super objects are copyable on Python 3.14+:

https://github.com/python/cpython/commit/5ca4e34bc1aab8321911aac6d5b2b9e75ff764d8

and can no longer be used in BaseContext.__copy__().

py314 test prefetch related queryset.patch | (download)

django/utils/version.py | 1 1 + 0 - 0 !
tests/model_forms/tests.py | 7 6 + 1 - 0 !
2 files changed, 7 insertions(+), 1 deletion(-)

 refs #35844 -- fixed
 OtherModelFormTests.test_prefetch_related_queryset() test on Python 3.14+.

https://github.com/python/cpython/commit/5a23994a3dbee43a0b08f5920032f60f38b63071

test strip tags incomplete entities.patch | (download)

tests/utils_tests/test_html.py | 29 22 + 7 - 0 !
1 file changed, 22 insertions(+), 7 deletions(-)

 refs #36499 -- adjusted test_strip_tags following python behavior
 change for incomplete entities.