From 6b875ee912328370a44f228648e0a7ec1cef1a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Asif=20Saif=20Uddin=20=7B=22Auvi=22=3A=22=E0=A6=85?= =?UTF-8?q?=E0=A6=AD=E0=A6=BF=22=7D?= Date: Tue, 16 Dec 2025 01:55:06 +0600 Subject: [PATCH] Update tests/test_validators.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- tests/test_validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_validators.py b/tests/test_validators.py index 5580d2a5b..6a57299d6 100644 --- a/tests/test_validators.py +++ b/tests/test_validators.py @@ -795,7 +795,7 @@ class UniqueConstraintWithRelationModel(models.Model): class UniqueConstraintWithRelationModelSerializer(serializers.ModelSerializer): class Meta: model = UniqueConstraintWithRelationModel - fields = serializers.ALL_FIELDS + fields = '__all__' class TestUniqueConstraintWithRelationValidation(TestCase):