Permalink
Browse files

Merge pull request #232 from yohanboniface/ticket18667

Ticket 18667: fix typo in CBV doc
  • Loading branch information...
2 parents 9d246e0 + 206c248 commit c4be14bd32537ced70ff86c1059e6cbfbae7f152 @alex alex committed Jul 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/ref/class-based-views/generic-display.txt
View
2 docs/ref/class-based-views/generic-display.txt
@@ -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

0 comments on commit c4be14b

Please sign in to comment.