1
0
mirror of https://github.com/django/django.git synced 2024-12-23 17:46:27 +00:00

[1.8.x] Fixed typo in docs/topics/class-based-views/intro.txt

Backport of f5fbddf22f from master
This commit is contained in:
Anton 2015-04-20 20:54:54 +03:00 committed by Tim Graham
parent e02616b1b0
commit 76f20c5307

View File

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