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
1 changed files with 1 additions and 0 deletions

View File

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