Skip to content

Commit

Permalink
Merge branch 'master' into bionic
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Apr 30, 2018
2 parents 95a6d59 + 61d2266 commit 29a690e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ CHANGELOG
**Bug fixes**

* Fix sync of deleted sensitive areas
* Fix touristiccontents.geojson crash when reservation_system is None


2.18.3 (2018-04-27)
Expand Down
2 changes: 1 addition & 1 deletion geotrek/tourism/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ class TouristicContentSerializer(PicturesSerializerMixin, PublishableSerializerM
type2 = TouristicContentTypeSerializer(many=True)
source = RecordSourceSerializer(many=True)
portal = TargetPortalSerializer(many=True)
reservation_system = rest_serializers.ReadOnlyField(source='reservation_system.name')
reservation_system = rest_serializers.ReadOnlyField(source='reservation_system.name', default="")

# Nearby
touristic_contents = CloseTouristicContentSerializer(many=True, source='published_touristic_contents')
Expand Down

0 comments on commit 29a690e

Please sign in to comment.