summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/generic-views.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/generic-views.txt b/docs/topics/generic-views.txt
index aaaae90485..f70bb43f38 100644
--- a/docs/topics/generic-views.txt
+++ b/docs/topics/generic-views.txt
@@ -453,7 +453,7 @@ custom view:
urlpatterns = patterns('',
#...
- **(r'^authors/(?P<author_id>\d+)/$', author_detail),**
+ **(r'^authors/(?P<author_id>\\d+)/$', author_detail),**
)
Then we'd write our wrapper function::