from rest_framework import serializers
from spacefinder.models import ParkingSpot


class ParkingSpotSerializer(serializers.ModelSerializer):


    class Meta:
        fields = ('id', 'creationDate', 'latitude', 'longitude', 'type',
            'size', 'plannedDuration', 'comment')
        model = ParkingSpot

04db3d55aba9c37867813254ead1ce258d8c92d7
<mask token>

<mask token>


class ParkingSpotSerializer(serializers.ModelSerializer):


    class Meta:
        fields = ('id', 'creationDate', 'latitude', 'longitude', 'type',
            'size', 'plannedDuration', 'comment')
        model = ParkingSpot

from rest_framework import serializers
from spacefinder.models import ParkingSpot


class ParkingSpotSerializer(serializers.ModelSerializer):


    class Meta:
        fields = ('id', 'creationDate', 'latitude', 'longitude', 'type',
            'size', 'plannedDuration', 'comment')
        model = ParkingSpot
