Fix the problem that horizon launch fails due to python3-django upgrade
https://github.com/django/django/commit/fb4c55d9ec4bb812a7fb91fa20510d91645e411b
This commit disables FileInput 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.
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: horizon.service can been successfully loaded and restarted
with python3-django 2:2.2.28-1~deb11u2
Reviewed: https:/ /review. opendev. org/c/starlingx /gui/+/ 894258 /opendev. org/starlingx/ gui/commit/ b724f037f8ff15f 182273a42ca733c 0c624fbe05
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b724f037f8ff15f 182273a42ca733c 0c624fbe05
Author: Wentao Zhang <email address hidden>
Date: Fri Sep 8 13:49:12 2023 +0800
Fix the problem that horizon launch fails due to python3-django upgrade
https:/ /github. com/django/ django/ commit/ fb4c55d9ec4bb81 2a7fb91fa20510d 91645e411b 2.28-1~ deb11u2 includes this commit.
This commit disables FileInput 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.
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: horizon.service can been successfully loaded and restarted
with python3-django 2:2.2.28-1~deb11u2
Closes-Bug: 2030473
Depends-On: https:/ /review. opendev. org/c/starlingx /tools/ +/894257
Change-Id: I5e07f3ec7e0209 0f1a04038c768a7 e657131934e
Signed-off-by: Wentao Zhang <email address hidden>