"""Place API"""

from tastypie.resources import ModelResource

from ..models.place import Place


class PlaceResource(ModelResource):
    """Place resource"""

    class Meta:
        queryset = Place.objects.all()
        resource_name = 'place'
