Fixed typo in docs/topics/class-based-views/intro.txt

This commit is contained in:
Anton 2015-04-20 20:54:54 +03:00 committed by Tim Graham
parent e15c55e2bf
commit f5fbddf22f
1 changed files with 3 additions and 4 deletions

View File

@ -251,10 +251,9 @@ more of the methods (or both!).
Decorating class-based views Decorating class-based views
============================ ============================
The extension of class-based views isn't limited to using mixins. You The extension of class-based views isn't limited to using mixins. You can also
can use also use decorators. Since class-based views aren't functions, use decorators. Since class-based views aren't functions, decorating them works
decorating them works differently depending on if you're using ``as_view`` or differently depending on if you're using ``as_view()`` or creating a subclass.
creating a subclass.
Decorating in URLconf Decorating in URLconf
--------------------- ---------------------