add one line to the api docs
This commit is contained in:
parent
a059f2cc6a
commit
0ae5a47ae1
1 changed files with 1 additions and 0 deletions
|
@ -334,6 +334,7 @@ class LocationViewSet(LocationViewSetBase):
|
||||||
add ?detailed to show all attributes
|
add ?detailed to show all attributes
|
||||||
add ?geometry 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.
|
||||||
|
also possible: /by_slug/{slug}/
|
||||||
"""
|
"""
|
||||||
queryset = LocationSlug.objects.all()
|
queryset = LocationSlug.objects.all()
|
||||||
lookup_value_regex = r'[^/]+'
|
lookup_value_regex = r'[^/]+'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue