Skip to content

Commit

Permalink
Fixed #18527 -- Removed superfluous backslash in CBV docs
Browse files Browse the repository at this point in the history
Thanks ramilzay at gmail.com for the report.
  • Loading branch information
claudep committed Jun 27, 2012
1 parent fa182e8 commit ada961b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/class-based-views/generic-display.txt
Expand Up @@ -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
Expand Down

0 comments on commit ada961b

Please sign in to comment.