mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
python3-django: Fix missing JSONField in django.db.models
Fix the following error introduced by CVE-2024-42005.patch: AttributeError: module 'django.db.models' has no attribute 'JSONField' The patch assumes JSONField is available from django.db.models, which is not the case for this Django version. Revert the changes in the following files to restore compatibility: tests/expressions/models.py tests/expressions/test_queryset_values.py Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
This commit is contained in:
committed by
Gyorgy Sarvari
parent
bca6ddaa0d
commit
c1d50d3e50
@@ -33,6 +33,7 @@ SRC_URI += "file://CVE-2023-31047.patch \
|
||||
file://CVE-2025-32873.patch \
|
||||
file://CVE-2025-64459.patch \
|
||||
file://Fix-undefined-_lazy_re_compile.patch \
|
||||
file://Fix-missing-JSONField-in-django.db.mo.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "0200b657afbf1bc08003845ddda053c7641b9b24951e52acd51f6abda33a7413"
|
||||
|
||||
Reference in New Issue
Block a user