Merge pull request #232 from yohanboniface/ticket18667
Ticket 18667: fix typo in CBV doc
This commit is contained in:
commit
c4be14bd32
|
@ -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