Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Ticket 18667: fix typo in CBV doc

  • Loading branch information...
commit 206c248f1e8be71890d248cc705702a5eda6d0c8 1 parent 942818e
@yohanboniface yohanboniface authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/ref/class-based-views/generic-display.txt
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
Please sign in to comment.
Something went wrong with that request. Please try again.