summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-django_2.2.28.bb
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-01-15 09:29:10 +0100
committerGyorgy Sarvari <skandigraun@gmail.com>2026-01-15 13:50:52 +0100
commit6d3dcbce79a30772ec9ce48fdfede258513c313a (patch)
tree354dcad5afc04814886748fec66c5d72dc36d6b5 /meta-python/recipes-devtools/python/python3-django_2.2.28.bb
parent2e331249b2af8649ea0deaea552ba1d1d0a16476 (diff)
downloadmeta-openembedded-6d3dcbce79a30772ec9ce48fdfede258513c313a.tar.gz
python3-django: handle non-existing import from CVE patch
This change is for python3-django_2.2.28. During backporting a patch for CVE-2024-56374, an import got into the patch for v2.2.28 that does not exist yet in that version. This patch handles this import with a fallback to prevent throwing and ImportError. Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-django_2.2.28.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-django_2.2.28.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-django_2.2.28.bb b/meta-python/recipes-devtools/python/python3-django_2.2.28.bb
index 3b5491cd5e..3dd64a5507 100644
--- a/meta-python/recipes-devtools/python/python3-django_2.2.28.bb
+++ b/meta-python/recipes-devtools/python/python3-django_2.2.28.bb
@@ -36,7 +36,8 @@ SRC_URI += "file://CVE-2023-31047.patch \
36 file://Fix-missing-JSONField-in-django.db.mo.patch \ 36 file://Fix-missing-JSONField-in-django.db.mo.patch \
37 file://0001-Fixed-35172-Fixed-intcomma-for-string-floats.patch \ 37 file://0001-Fixed-35172-Fixed-intcomma-for-string-floats.patch \
38 file://0001-implement-group-method-for-FakeMatch.patch \ 38 file://0001-implement-group-method-for-FakeMatch.patch \
39 " 39 file://0001-fix-ipv6-test.patch \
40 "
40 41
41SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413" 42SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413"
42 43