tests&small update

This commit is contained in:
Anton Zhyrney
2017-01-07 07:13:49 +02:00
parent 1317b1799c
commit 47a4f34cdf
3 changed files with 43 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ If you want to add decorator for class, you could set decorators variable
```
class ViewWithDecorator(HTTPMethodView):
decorators = (some_decorator_here)
decorators = [some_decorator_here]
def get(self, request, name):
return text('Hello I have a decorator')