1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00

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

View File

@ -54,7 +54,7 @@ many projects they are typically the most commonly used views.
from article.views import ArticleDetailView
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