Ticket 18667: fix typo in CBV doc
This commit is contained in:
parent
942818e1b3
commit
206c248f1e
|
@ -54,7 +54,7 @@ many projects they are typically the most commonly used views.
|
||||||
from article.views import ArticleDetailView
|
from article.views import ArticleDetailView
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
urlpatterns = patterns('',
|
||||||
url(r'^(?P<slug>[-_\w]+)/$', ArticleDetailView.as_view(), 'article-detail'),
|
url(r'^(?P<slug>[-_\w]+)/$', ArticleDetailView.as_view(), name='article-detail'),
|
||||||
)
|
)
|
||||||
|
|
||||||
.. class:: django.views.generic.list.ListView
|
.. class:: django.views.generic.list.ListView
|
||||||
|
|
Loading…
Reference in New Issue