diff --git a/citizenvoice/apiapp/serializers.py b/citizenvoice/apiapp/serializers.py index 2a069c18..86502305 100644 --- a/citizenvoice/apiapp/serializers.py +++ b/citizenvoice/apiapp/serializers.py @@ -169,7 +169,7 @@ class Meta: model = LocationCollection fields = ('id', 'url', 'name', 'description', 'features') read_only_fields = ('id', 'url') - + def get_features(self, obj): """ Returns a list of URLs of all the features (points, lines, polygons)