1
0
mirror of https://github.com/django/django.git synced 2025-03-24 08:10:45 +00:00

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

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
---------------------