from rest_framework import serializers
from .models import FoodBank


class FoodBankSerializer(serializers.ModelSerializer):


    class Meta:
        model = FoodBank
        fields = ('id', 'name', 'address', 'city', 'state', 'zipcode',
            'phone', 'details', 'weblink', 'photo')

7749e5faad9565e1e10e7c2fe57380ddb08bb4db
<mask token>

<mask token>


class FoodBankSerializer(serializers.ModelSerializer):


    class Meta:
        model = FoodBank
        fields = ('id', 'name', 'address', 'city', 'state', 'zipcode',
            'phone', 'details', 'weblink', 'photo')

from rest_framework import serializers
from .models import FoodBank


class FoodBankSerializer(serializers.ModelSerializer):


    class Meta:
        model = FoodBank
        fields = ('id', 'name', 'address', 'city', 'state', 'zipcode',
            'phone', 'details', 'weblink', 'photo')
