summaryrefslogtreecommitdiff
path: root/docs
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 08:59:55 +0200
commit58b3a974fc30c369eabacc747e1763cf04d053fd (patch)
tree35fcdf9db149391a17f8a4827abd260a9a8da615 /docs
parentb0bbccf6307b0f4914eabd520467bc159d25923f (diff)
Fixed #20266 -- Updated view example in CBV introduction
Thanks jim at hellolocals.com for the report.
Diffstat (limited to 'docs')
-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 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::