# External
from rest_framework.serializers import HyperlinkedModelSerializer

# Local
from .models import Checklist, Item

class ChecklistSerializer(HyperlinkedModelSerializer):
    class Meta:
        model = Checklist
        read_only_fields = ('user',)

class ItemSerializer(HyperlinkedModelSerializer):
    class Meta:
        model = Item

ad29b6d5f44b109c240d5f7320f7f76c96085399
<mask token>

<mask token>


class ItemSerializer(HyperlinkedModelSerializer):


    class Meta:
        model = Item

<mask token>


class ChecklistSerializer(HyperlinkedModelSerializer):


    class Meta:
        model = Checklist
        read_only_fields = 'user',


class ItemSerializer(HyperlinkedModelSerializer):


    class Meta:
        model = Item

from rest_framework.serializers import HyperlinkedModelSerializer
from .models import Checklist, Item


class ChecklistSerializer(HyperlinkedModelSerializer):


    class Meta:
        model = Checklist
        read_only_fields = 'user',


class ItemSerializer(HyperlinkedModelSerializer):


    class Meta:
        model = Item

# External
from rest_framework.serializers import HyperlinkedModelSerializer

# Local
from .models import Checklist, Item

class ChecklistSerializer(HyperlinkedModelSerializer):
    class Meta:
        model = Checklist
        read_only_fields = ('user',)

class ItemSerializer(HyperlinkedModelSerializer):
    class Meta:
        model = Item
