diff --git a/docs/api-guide/routers.md b/docs/api-guide/routers.md index e2092b5871..2609185eee 100644 --- a/docs/api-guide/routers.md +++ b/docs/api-guide/routers.md @@ -241,12 +241,14 @@ The following example will only route to the `list` and `retrieve` actions, and url=r'^{prefix}$', mapping={'get': 'list'}, name='{basename}-list', + detail=False, initkwargs={'suffix': 'List'} ), Route( url=r'^{prefix}/{lookup}$', mapping={'get': 'retrieve'}, name='{basename}-detail', + detail=True, initkwargs={'suffix': 'Detail'} ), DynamicRoute(