# Restaurant/serializers.py

from rest_framework import serializers
from . import models


class RestaurantSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.Restaurant
        fields = ('rName', 'rAddress', 'latitude', 'longitude')
