Explicit declare `__all__` fields on serializer.
Deprecated since DRF 3.3
This commit is contained in:
parent
3650c6077b
commit
144344ebf9
|
@ -43,3 +43,4 @@ class PaymentSourceSerializer(AccountSerializerMixin, serializers.HyperlinkedMod
|
|||
class TransactionSerializer(AccountSerializerMixin, serializers.HyperlinkedModelSerializer):
|
||||
class Meta:
|
||||
model = Transaction
|
||||
fields = '__all__'
|
||||
|
|
Loading…
Reference in New Issue