Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Corrected a markup problem with an example in the class-based view do…

…cs. Thanks to apollo13 for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit ece3a7c3c73f46171ef8c5f51e2b28784fe57fab 1 parent 790f0eb
Russell Keith-Magee authored November 20, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/class-based-views.txt
2  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
579 579
 you can't just apply a function decorator to the method -- you need to
580 580
 transform it into a method decorator first. The ``method_decorator``
581 581
 decorator transforms a function decorator into a method decorator so
582  
-that it can be used on an instance method.
  582
+that it can be used on an instance method. For example::
583 583
 
584 584
     from django.contrib.auth.decorators import login_required
585 585
     from django.utils.decorators import method_decorator

0 notes on commit ece3a7c

Please sign in to comment.
Something went wrong with that request. Please try again.