Kaydet (Commit) 58b3a974 authored tarafından Claude Paroz's avatar Claude Paroz

Fixed #20266 -- Updated view example in CBV introduction

Thanks jim at hellolocals.com for the report.
üst b0bbccf6
......@@ -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::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment