Compare commits

...

2 Commits

Author SHA1 Message Date
github-actions[bot]
40369b5df3 perf: Update Dockerfile with new base image tag 2025-10-29 03:23:29 +00:00
wrd
f42a08152d Revert "perf: update fields serialization and bump django and djangorestframe…"
This reverts commit dd0cacb4bc.
2025-10-29 11:18:54 +08:00
3 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
FROM jumpserver/core-base:20251014_095903 AS stage-build
FROM jumpserver/core-base:20251029_031929 AS stage-build
ARG VERSION

View File

@@ -603,7 +603,7 @@ class JSONManyToManyField(models.JSONField):
return None
if isinstance(value, RelatedManager):
value = value.value
return value
return json.dumps(value)
def validate(self, value, model_instance):
super().validate(value, model_instance)

View File

@@ -68,14 +68,14 @@ dependencies = [
'ipip-ipdb==1.6.1',
'pywinrm==0.4.3',
'python-nmap==0.7.1',
'django==4.2.24',
'django==4.1.13',
'django-bootstrap3==23.4',
'django-filter==23.2',
'django-formtools==2.5.1',
'django-ranged-response==0.2.0',
'django-simple-captcha==0.5.18',
'django-timezone-field==5.1',
'djangorestframework==3.16.1',
'djangorestframework==3.14.0',
'djangorestframework-bulk==0.2.1',
'django-simple-history==3.6.0',
'django-private-storage==3.1',