mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Ticket 18667: fix typo in CBV doc
This commit is contained in:
parent
942818e1b3
commit
206c248f1e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue