Skip to content
Browse files

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

Thanks jim at for the report.
Backport of 58b3a97 from master.
  • Loading branch information...
1 parent 56f6348 commit 807264ed8d04f3ef2755f68f581cf5f0d03817dc @claudep claudep committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/topics/class-based-views/intro.txt
2 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::

0 comments on commit 807264e

Please sign in to comment.
Something went wrong with that request. Please try again.