from rest_framework import serializers
from orders.models import Order

class OrderSerializer(serializers.ModelSerializer):

  class Meta:
      model = Order
      fields = ('id', 'customer', 'customer_address', 'item', 'total_price')
