Debian Patches

Status for python-django-postgres-extra/2.0.9-3

Patch Description Author Forwarded Bugs Origin Last update
0001-Use-local-objects.inv-in-intersphinx-mapping.patch Use local objects.inv in intersphinx mapping. Michael Fladischer <FladischerMichael@fladi.at> no 2023-02-09
0002-PATCH-Account-for-index_together-removal-in-Django-5.patch Account for `index_together` removal in Django 5.2 Swen Kooij <swen@sectorlabs.ro> no upstream, https://github.com/SectorLabs/django-postgres-extra/commit/70c0ee27b4a4e0801726f82f5154577693505a8d.patch 2025-06-08
0003-PATCH-Correct-version-constraint-index_together-was-.patch Correct version constraint; `index_together` was removed in Django 5.1

https://docs.djangoproject.com/en/5.2/releases/5.1/#features-removed-in-5-1
Swen Kooij <swen@sectorlabs.ro> no upstream, https://github.com/SectorLabs/django-postgres-extra/commit/38b77a65e39593c076ab3a5f0a66e5d99b0656cb.patch 2025-06-08
0004-PATCH-Fix-rename_annotation-for-Django-5.2-and-newer.patch Fix `rename_annotation` for Django 5.2 and newer
Was broken by this change:
https://github.com/django/django/commit/65ad4ade74dc9208b9d686a451cd6045df0c9c3a
Swen Kooij <swen@sectorlabs.ro> no upstream, https://github.com/SectorLabs/django-postgres-extra/commit/8760a67a6ad8790de54b90f1edf11a60ae2da863.patch 2025-06-08
0005-PATCH-Fix-an-issue-whether-detection-of-update-inser.patch Fix an issue whether detection of update/insert fields isn't reliable

This is because `pre_save` mutates the model instance. Since we call
it twice (once with `is_insert=True` and once with `is_insert=False`),
the second call might have a different result.

This problem manifests with `DateTimeField(auto_now=True)`. It'll always
be treated as an insert field, even though it it should be treated
as both.
Swen Kooij <swen@sectorlabs.ro> no upstream, https://github.com/SectorLabs/django-postgres-extra/commit/4d70da54993b78b5bfcadcf63d0f4de8169664fe.patch 2025-06-08

All known versions for source package 'python-django-postgres-extra'

Links