From 9ac6417aade0b3f54c5ee1be0a561f413bc26482 Mon Sep 17 00:00:00 2001 From: Saadullah Aleem Date: Thu, 11 May 2023 01:19:12 +0500 Subject: [PATCH] fix: Make the instance variable of child serializer point to the correct list object instead of the entire list when validating ListSerializer --- tests/test_serializer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_serializer.py b/tests/test_serializer.py index 3d52f3c0a..9979c8e20 100644 --- a/tests/test_serializer.py +++ b/tests/test_serializer.py @@ -843,4 +843,4 @@ class TestMultipleObjectsValidation(unittest.TestCase): instance=self.objs[:-1], many=True, partial=True, - ) + ) \ No newline at end of file