Skip to content

Commit c4be14b

Browse files
committed
Merge pull request django#232 from yohanboniface/ticket18667
Ticket 18667: fix typo in CBV doc
2 parents 9d246e0 + 206c248 commit c4be14b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ref/class-based-views/generic-display.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ many projects they are typically the most commonly used views.
5454
from article.views import ArticleDetailView
5555

5656
urlpatterns = patterns('',
57-
url(r'^(?P<slug>[-_\w]+)/$', ArticleDetailView.as_view(), 'article-detail'),
57+
url(r'^(?P<slug>[-_\w]+)/$', ArticleDetailView.as_view(), name='article-detail'),
5858
)
5959

6060
.. class:: django.views.generic.list.ListView

0 commit comments

Comments
 (0)