Update tests/test_validators.py

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Asif Saif Uddin {"Auvi":"অভি"} 2025-12-16 01:55:06 +06:00 committed by GitHub
parent a4a3093f11
commit 6b875ee912
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):