add one line to the api docs

This commit is contained in:
Laura Klünder 2017-12-24 18:34:08 +01:00
parent a059f2cc6a
commit 0ae5a47ae1

View file

@ -334,6 +334,7 @@ class LocationViewSet(LocationViewSetBase):
add ?detailed to show all attributes
add ?geometry to show geometries
/{id}/ add ?show_redirect=1 to suppress redirects and show them as JSON.
also possible: /by_slug/{slug}/
"""
queryset = LocationSlug.objects.all()
lookup_value_regex = r'[^/]+'