Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #232 from yohanboniface/ticket18667

Ticket 18667: fix typo in CBV doc
  • Loading branch information...
commit c4be14bd32537ced70ff86c1059e6cbfbae7f152 2 parents 9d246e0 + 206c248
@alex alex authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.