MT#63362 Upgrade Django from 3.2.25 to 5.2.5

Update Django to latest LTS version which is 5.2.5

Change-Id: I42a0f79c6f58bfbd2abaeccc5561fd27a41ddfba
mprokop/trixie
Jose Su 4 months ago committed by Michael Prokop
parent 88b90e03b8
commit 3c811bb642

@ -238,10 +238,10 @@ class JenkinsBuildInfo(models.Model):
objects = JenkinsBuildInfoManager() objects = JenkinsBuildInfoManager()
class Meta: class Meta:
index_together = [ indexes = [
["param_release", "projectname"], models.Index(fields=["param_release", "projectname"]),
["param_release", "projectname", "tag"], models.Index(fields=["param_release", "projectname", "tag"]),
["param_release_uuid", "tag"], models.Index(fields=["param_release_uuid", "tag"]),
] ]
def is_job_url_allowed(self): def is_job_url_allowed(self):

@ -1,5 +1,5 @@
celery celery
Django==3.2.25 Django==5.2.5
django-admin-list-filters django-admin-list-filters
django-appconf django-appconf
django-assets django-assets

@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-bookworm:latest
# is updated with the current date. It will force refresh of all # is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using # of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built. # old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2025-04-29 ENV REFRESHED_AT 2025-08-18
RUN apt-get update && apt-get install --assume-yes python3 python3-dev \ RUN apt-get update && apt-get install --assume-yes python3 python3-dev \
python3-pytest python3-pytest-pep8 \ python3-pytest python3-pytest-pep8 \

Loading…
Cancel
Save