from rest_framework import serializers
from poll.models import PollModel


class PollSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = PollModel
        fields = ('title', 'description', 'url_logo')


3eadb666a56ab55dcb425365bcbe9c85bba0358b
<mask token>

<mask token>


class PollSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = PollModel
        fields = 'title', 'description', 'url_logo'

from rest_framework import serializers
from poll.models import PollModel


class PollSerializer(serializers.HyperlinkedModelSerializer):


    class Meta:
        model = PollModel
        fields = 'title', 'description', 'url_logo'

from rest_framework import serializers
from poll.models import PollModel


class PollSerializer(serializers.HyperlinkedModelSerializer):
    class Meta:
        model = PollModel
        fields = ('title', 'description', 'url_logo')

