From 1e9dc8c3a8fd2d4da4e2e51cc03e748b7f4511bb Mon Sep 17 00:00:00 2001 From: Ryan P Kilby Date: Fri, 28 Jun 2019 14:25:32 -0700 Subject: [PATCH] Update 'decorators' module docstring --- rest_framework/decorators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rest_framework/decorators.py b/rest_framework/decorators.py index 671754fa1..eb1cad9e4 100644 --- a/rest_framework/decorators.py +++ b/rest_framework/decorators.py @@ -3,8 +3,8 @@ The most important decorator in this module is `@api_view`, which is used for writing function-based views with REST framework. There are also various decorators for setting the API policies on function -based views, as well as the `@detail_route` and `@list_route` decorators, which are -used to annotate methods on viewsets that should be included by routers. +based views, as well as the `@action` decorator, which is used to annotate +methods on viewsets that should be included by routers. """ import types