python3-django: implement group method for FakeMatch

This change is for python3-django_2.2.28.

This patch is an extension for CVE-2024-27351.patch. The class that patch
introduced wasn't completely suitable for this version of the recipe, because
it was accessing a function of it that was not implemented (the upstream
version that introduced this class did not use that function, it is specific
to this old version).

This patch adds the missing implementation to avoid errors.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
Gyorgy Sarvari
2026-01-14 08:34:39 +01:00
parent 4638d0ee22
commit 2e331249b2
2 changed files with 43 additions and 0 deletions
@@ -35,6 +35,7 @@ SRC_URI += "file://CVE-2023-31047.patch \
file://Fix-undefined-_lazy_re_compile.patch \
file://Fix-missing-JSONField-in-django.db.mo.patch \
file://0001-Fixed-35172-Fixed-intcomma-for-string-floats.patch \
file://0001-implement-group-method-for-FakeMatch.patch \
"
SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413"