Commit d009ffe4 authored by Tim Graham's avatar Tim Graham
Browse files

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

parent aa089b10
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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