Merge pull request #232 from yohanboniface/ticket18667

Ticket 18667: fix typo in CBV doc
This commit is contained in:
Alex Gaynor 2012-07-25 12:56:08 -07:00
commit c4be14bd32
1 changed files with 1 additions and 1 deletions

View File

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