Package: python-django / 1:1.11.23-1~deb10u1

Metadata

Package Version Patches format
python-django 1:1.11.23-1~deb10u1 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/geoip/base.py | 19 10 + 9 - 0 !
1 file changed, 10 insertions(+), 9 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 | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 use locally installed documentation sources


0004 Fix QuerySet.defer with super and subclass fields.patch | (download)

django/db/models/sql/query.py | 2 1 + 1 - 0 !
tests/defer/tests.py | 5 5 + 0 - 0 !
2 files changed, 6 insertions(+), 1 deletion(-)

 fix queryset.defer() with super and subclass fields.

Fixed #28549 -- Fixed QuerySet.defer() with super and subclass fields.

commit 84b7cb7df00192b2f804e2c6fd98b78b5bfd1ffa upstream.

0006 Default to supporting Spatialite 4.2.patch | (download)

django/contrib/gis/db/backends/spatialite/base.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 default to supporting spatialite 4.2

See, for example:

  https://www.gaia-gis.it/fossil/libspatialite/wiki?name=mod_spatialite

... and:

  https://docs.djangoproject.com/en/2.1/ref/contrib/gis/install/spatialite/#installing-spatialite

0007 Fixed 29182 Adjusted SQLite schema table alteration .patch | (download)

django/db/backends/sqlite3/schema.py | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 fixed #29182 -- adjusted sqlite schema table alteration to support
 3.26.

SQLite 3.26 repoints foreign key constraints on table renames even when
foreign_keys pragma is off which breaks every operation that requires
a table rebuild to simulate unsupported ALTER TABLE statements.

Fortunately the newly introduced legacy_alter_table pragma allows one to disable
this behavior and restore the previous schema editor assumptions.

Thanks Florian Apolloner, Christoph Trassl, Chris Lamb for the report and
troubleshooting assistance.