fix docs in LocationViewSet
This commit is contained in:
parent
508a45b4c8
commit
8472fc1952
1 changed files with 2 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue