from rest_framework import serializers

from partner import models


# Serializers
class PartnerSerializer(serializers.ModelSerializer):
    """Serializer for model Partner"""
    class Meta:
        """Meta class"""
        model = models.Partner
        fields = (
            'id',
            'image',
            'url'
        )
