summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/class-based-views/intro.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/class-based-views/intro.txt b/docs/topics/class-based-views/intro.txt
index 5868b6be03..11d1f84ffe 100644
--- a/docs/topics/class-based-views/intro.txt
+++ b/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