Explicit declare __all__ fields on serializer.

Deprecated since DRF 3.3
This commit is contained in:
Santiago L 2020-06-18 09:47:27 +02:00
parent 3650c6077b
commit 144344ebf9

View file

@ -43,3 +43,4 @@ class PaymentSourceSerializer(AccountSerializerMixin, serializers.HyperlinkedMod
class TransactionSerializer(AccountSerializerMixin, serializers.HyperlinkedModelSerializer):
class Meta:
model = Transaction
fields = '__all__'