Fixed #18527 -- Removed superfluous backslash in CBV docs

Thanks ramilzay at gmail.com for the report.
This commit is contained in:
Claude Paroz 2012-06-27 18:11:45 +02:00
parent fa182e8ae8
commit ada961b0d2
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ custom view::
urlpatterns = patterns('', urlpatterns = patterns('',
#... #...
url(r'^authors/(?P<pk>\\d+)/$', AuthorDetailView.as_view(), name='author-detail'), url(r'^authors/(?P<pk>\d+)/$', AuthorDetailView.as_view(), name='author-detail'),
) )
Then we'd write our new view -- ``get_object`` is the method that retrieves the Then we'd write our new view -- ``get_object`` is the method that retrieves the