fix docs in LocationViewSet

This commit is contained in:
Laura Klünder 2017-10-27 14:52:31 +02:00
parent 508a45b4c8
commit 8472fc1952

View file

@ -189,8 +189,8 @@ class LocationViewSet(RetrieveModelMixin, GenericViewSet):
""" """
only accesses locations that have can_search or can_describe set to true. only accesses locations that have can_search or can_describe set to true.
add ?search to onle show locations with can_search set to true add ?search to onle show locations with can_search set to true
add ?detailed=1 to show all attributes add ?detailed to show all attributes
add ?geometry=1 to show geometries add ?geometry to show geometries
/{id}/ add ?show_redirect=1 to suppress redirects and show them as JSON. /{id}/ add ?show_redirect=1 to suppress redirects and show them as JSON.
""" """
queryset = LocationSlug.objects.all() queryset = LocationSlug.objects.all()