From ece3a7c3c73f46171ef8c5f51e2b28784fe57fab Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sat, 20 Nov 2010 11:33:43 +0000 Subject: [PATCH] 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 --- docs/topics/class-based-views.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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