summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2013-04-16 08:58:39 +0200
committerClaude Paroz <claude@2xlibre.net>2013-04-16 09:00:57 +0200
commit807264ed8d04f3ef2755f68f581cf5f0d03817dc (patch)
tree9e6b8271b44799fe150322415431489c7c0965da
parent56f6348c5071c1a1aaea989a16d5055d24ab6740 (diff)
[1.5.x] Fixed #20266 -- Updated view example in CBV introduction
Thanks jim at hellolocals.com for the report. Backport of 58b3a974fc from master.
-rw-r--r--docs/topics/class-based-views/intro.txt2
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 11d1f84ffe..1e2fc1e131 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::