Revert "perf: update fields serialization and bump django and djangorestframe…"

This reverts commit dd0cacb4bc.
This commit is contained in:
wrd
2025-10-29 11:18:54 +08:00
committed by 老广
parent fab6219cea
commit 3781c40179
2 changed files with 3 additions and 3 deletions

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',