diff options
| author | Tim Graham <timograham@gmail.com> | 2013-02-28 06:59:35 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-02-28 08:26:56 -0500 |
| commit | ed381bd922faa1379f1021f2a3dd57fe8a5163b2 (patch) | |
| tree | d046b58091826054070d109651e6f300f3b84385 /docs | |
| parent | 3919810923d44d0cd8068ab7b21c8aba041180ed (diff) | |
[1.5.x] Fixed #19937 - Typo in class-based views intro.
Backport of d009ffe436 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/topics/class-based-views/intro.txt | 2 |
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 |
