mirror of
https://github.com/django/django.git
synced 2025-08-23 10:19:13 +00:00
[1.5.x] Fixed #19937 - Typo in class-based views intro.
Backport of d009ffe436 from master
This commit is contained in:
parent
3919810923
commit
ed381bd922
@ -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::
|
You can override that in a subclass::
|
||||||
|
|
||||||
class MorningGreetingView(MyView):
|
class MorningGreetingView(GreetingView):
|
||||||
greeting = "Morning to ya"
|
greeting = "Morning to ya"
|
||||||
|
|
||||||
Another option is to configure class attributes as keyword arguments to the
|
Another option is to configure class attributes as keyword arguments to the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user