mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +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:
parent
e02616b1b0
commit
76f20c5307
@ -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
|
||||||
---------------------
|
---------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user