소스 검색

Fixed #19937 - Typo in class-based views intro.

Tim Graham 12 년 전
부모
커밋
d009ffe436
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/topics/class-based-views/intro.txt

+ 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