Browse files

[1.5.x] Fixed #19937 - Typo in class-based views intro.

Backport of d009ffe from master
  • Loading branch information...
1 parent 3919810 commit ed381bd922faa1379f1021f2a3dd57fe8a5163b2 @timgraham timgraham committed Feb 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/class-based-views/intro.txt
@@ -123,7 +123,7 @@ and methods in the subclass. So that if your parent class had an attribute
You can override that in a subclass::
- class MorningGreetingView(MyView):
+ class MorningGreetingView(GreetingView):
greeting = "Morning to ya"
Another option is to configure class attributes as keyword arguments to the

0 comments on commit ed381bd

Please sign in to comment.