[1.5.x] Fixed #20266 -- Updated view example in CBV introduction

Thanks jim at hellolocals.com for the report.
Backport of 58b3a974fc from master.
This commit is contained in:
Claude Paroz 2013-04-16 08:58:39 +02:00
parent 56f6348c50
commit 807264ed8d
1 changed files with 1 additions and 1 deletions

View File

@ -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::