<reponame>nkelton/Project-Litter-Bug-Front-End
from rest_framework import serializers

from . import models


class LitterSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Litter
        fields = ('id', 'litter_id', 'title', 'url', 'weight')
from rest_framework import serializers

from . import models


class LitterSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Litter
        fields = ('id', 'litter_id', 'title', 'url', 'weight')