Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #232 from yohanboniface/ticket18667

Ticket 18667: fix typo in CBV doc
  • Loading branch information...
commit c4be14bd32537ced70ff86c1059e6cbfbae7f152 2 parents 9d246e0 + 206c248
Alex Gaynor authored July 25, 2012
2  docs/ref/class-based-views/generic-display.txt
@@ -54,7 +54,7 @@ many projects they are typically the most commonly used views.
54 54
         from article.views import ArticleDetailView
55 55
 
56 56
         urlpatterns = patterns('',
57  
-            url(r'^(?P<slug>[-_\w]+)/$', ArticleDetailView.as_view(), 'article-detail'),
  57
+            url(r'^(?P<slug>[-_\w]+)/$', ArticleDetailView.as_view(), name='article-detail'),
58 58
         )    
59 59
 
60 60
 .. class:: django.views.generic.list.ListView

0 notes on commit c4be14b

Please sign in to comment.
Something went wrong with that request. Please try again.