Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #18527 -- Removed superfluous backslash in CBV docs

Thanks ramilzay at gmail.com for the report.
  • Loading branch information...
commit ada961b0d20cc31c6d414b556ba2dafb4e73c406 1 parent fa182e8
Claude Paroz claudep authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/class-based-views/generic-display.txt
2  docs/topics/class-based-views/generic-display.txt
View
@@ -397,7 +397,7 @@ custom view::
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
Please sign in to comment.
Something went wrong with that request. Please try again.