Skip to content

Commit

Permalink
Ticket 18667: fix typo in CBV doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yohanboniface committed Jul 25, 2012
1 parent 942818e commit 206c248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/class-based-views/generic-display.txt
Expand Up @@ -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
Expand Down

0 comments on commit 206c248

Please sign in to comment.