django-orchestra-test/orchestra/apps/payments/serializers.py
2014-07-23 16:24:56 +00:00

15 lines
330 B
Python

from rest_framework import serializers
from .models import PaymentSource, PaymentSource
class PaymentSourceSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = PaymentSource
class TransactionSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = PaymentSource