From b37ce3227acaa4618faccb93547e4f8a25e57edc Mon Sep 17 00:00:00 2001 From: Paul Wayper Date: Fri, 6 Jul 2018 22:26:34 +1000 Subject: [PATCH] Fixing ` single-quote around @list-route (#160) --- docs/custom_spec.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/custom_spec.rst b/docs/custom_spec.rst index cc04f47..646ea5a 100644 --- a/docs/custom_spec.rst +++ b/docs/custom_spec.rst @@ -87,7 +87,7 @@ Where you can use the :func:`@swagger_auto_schema <.swagger_auto_schema>` decora * for ``ViewSet``, ``GenericViewSet``, ``ModelViewSet``, because each viewset corresponds to multiple **paths**, you have to decorate the *action methods*, i.e. ``list``, ``create``, ``retrieve``, etc. |br| - Additionally, ``@action``\ s, `@list_route``\ s or ``@detail_route``\ s defined on the viewset, like function based + Additionally, ``@action``\ s, ``@list_route``\ s or ``@detail_route``\ s defined on the viewset, like function based api views, can respond to multiple HTTP methods and thus have multiple operations that must be decorated separately: