From ec4339bd47659df6e3dcab3c5e75f31ec5d5cad7 Mon Sep 17 00:00:00 2001 From: caitinggui <1029645297@qq.com> Date: Wed, 24 Jan 2018 09:02:07 +0800 Subject: [PATCH] update description --- docs/sanic/class_based_views.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sanic/class_based_views.md b/docs/sanic/class_based_views.md index b7a5a101..c3304df6 100644 --- a/docs/sanic/class_based_views.md +++ b/docs/sanic/class_based_views.md @@ -98,7 +98,7 @@ class ViewWithDecorator(HTTPMethodView): app.add_route(ViewWithDecorator.as_view(), '/url') ``` -But if you just want to decorator some functions and not all functions, you can use as followed. +But if you just want to decorate some functions and not all functions, you can do as follows: ```python class ViewWithSomeDecorator(HTTPMethodView):