Skip to content

Commit

Permalink
Merge pull request django#232 from yohanboniface/ticket18667
Browse files Browse the repository at this point in the history
Ticket 18667: fix typo in CBV doc
  • Loading branch information
alex committed Jul 25, 2012
2 parents 9d246e0 + 206c248 commit c4be14b
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 c4be14b

Please sign in to comment.