diff --git a/docs/topics/generic-views.txt b/docs/topics/generic-views.txt index c48c858f0b..c909774d0b 100644 --- a/docs/topics/generic-views.txt +++ b/docs/topics/generic-views.txt @@ -453,7 +453,7 @@ custom view: urlpatterns = patterns('', #... - **(r'^authors/(?P\d+)/$', author_detail),** + **(r'^authors/(?P\\d+)/$', author_detail),** ) Then we'd write our wrapper function::