summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-11-20 11:33:43 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-11-20 11:33:43 +0000
commitece3a7c3c73f46171ef8c5f51e2b28784fe57fab (patch)
tree6a53e326c01028108611befdbe908295a58079f2 /docs
parent790f0eb7fe0c88bf39595e6b70ddf40de5843b9d (diff)
Corrected a markup problem with an example in the class-based view docs. Thanks to apollo13 for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/class-based-views.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/class-based-views.txt b/docs/topics/class-based-views.txt
index 5b848e8115..76474895f6 100644
--- a/docs/topics/class-based-views.txt
+++ b/docs/topics/class-based-views.txt
@@ -579,7 +579,7 @@ A method on a class isn't quite the same as a standalone function, so
you can't just apply a function decorator to the method -- you need to
transform it into a method decorator first. The ``method_decorator``
decorator transforms a function decorator into a method decorator so
-that it can be used on an instance method.
+that it can be used on an instance method. For example::
from django.contrib.auth.decorators import login_required
from django.utils.decorators import method_decorator