From 58b3a974fc30c369eabacc747e1763cf04d053fd Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Tue, 16 Apr 2013 08:58:39 +0200 Subject: [PATCH] Fixed #20266 -- Updated view example in CBV introduction Thanks jim at hellolocals.com for the report. --- docs/topics/class-based-views/intro.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/class-based-views/intro.txt b/docs/topics/class-based-views/intro.txt index 7764e417fc..dbbbea25f0 100644 --- a/docs/topics/class-based-views/intro.txt +++ b/docs/topics/class-based-views/intro.txt @@ -130,7 +130,7 @@ Another option is to configure class attributes as keyword arguments to the :meth:`~django.views.generic.base.View.as_view` call in the URLconf:: urlpatterns = patterns('', - (r'^about/', MyView.as_view(greeting="G'day")), + (r'^about/', GreetingView.as_view(greeting="G'day")), ) .. note::