From 144344ebf9a1ae6fbbd45626d0377104fa85ab91 Mon Sep 17 00:00:00 2001 From: Santiago Lamora Date: Thu, 18 Jun 2020 09:47:27 +0200 Subject: [PATCH] Explicit declare `__all__` fields on serializer. Deprecated since DRF 3.3 --- orchestra/contrib/payments/serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/orchestra/contrib/payments/serializers.py b/orchestra/contrib/payments/serializers.py index e423abbb..14bc4c96 100644 --- a/orchestra/contrib/payments/serializers.py +++ b/orchestra/contrib/payments/serializers.py @@ -43,3 +43,4 @@ class PaymentSourceSerializer(AccountSerializerMixin, serializers.HyperlinkedMod class TransactionSerializer(AccountSerializerMixin, serializers.HyperlinkedModelSerializer): class Meta: model = Transaction + fields = '__all__'