Fix the problem that patch upload fails of horizon
https://github.com/django/django/commit/fb4c55d9ec4bb812a7fb91fa20510d91645e411b
This commit disables FileField for uploading multiple files
directly and introduces a new method as a replacement.
the upgrade of python3-django from 2:2.2.28-1~deb11u1 to
2:2.2.28-1~deb11u2 includes this commit.
Replace FileField with MultipleFileField for uploading multiple files.
Refer to the method introduced in the commit to replace
the previous usage.
Test Plan
PASS: build-pkgs -c -p starlingx-dashboard && build-image
PASS: jenkins installation successfuly
PASS: upload a patch using Horizon Web interface successfully
Reviewed: https:/ /review. opendev. org/c/starlingx /gui/+/ 899998 /opendev. org/starlingx/ gui/commit/ 7ce032a63910990 dfcecbc4d81833f 4cc0879cc1
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 7ce032a63910990 dfcecbc4d81833f 4cc0879cc1
Author: Wentao Zhang <email address hidden>
Date: Fri Nov 3 11:43:00 2023 +0800
Fix the problem that patch upload fails of horizon
https:/ /github. com/django/ django/ commit/ fb4c55d9ec4bb81 2a7fb91fa20510d 91645e411b 2.28-1~ deb11u2 includes this commit.
This commit disables FileField for uploading multiple files
directly and introduces a new method as a replacement.
the upgrade of python3-django from 2:2.2.28-1~deb11u1 to
2:2.
Replace FileField with MultipleFileField for uploading multiple files.
Refer to the method introduced in the commit to replace
the previous usage.
Test Plan
PASS: build-pkgs -c -p starlingx-dashboard && build-image
PASS: jenkins installation successfuly
PASS: upload a patch using Horizon Web interface successfully
Closes-Bug: 2042610
Change-Id: I7bb4a0db762192 2e5f1c8811ec3f4 9be4a37d1a5
Signed-off-by: Wentao Zhang <email address hidden>