summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2010-05-10 11:43:34 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2010-05-10 11:43:34 +0000
commit45c409f3fd488c59077dbb0acc0fea121b048579 (patch)
treebca70362f86e2b6246196b274e0856bb73ea2441
parentb66d597cb4ea87b7437b3e84f5bc76c09f0dfad1 (diff)
downloaddjango-45c409f3fd488c59077dbb0acc0fea121b048579.tar.gz
[1.1.X] Fixed #13329 -- Corrected markup problem with URL pattern in generic views docs. Thanks to LaundroMat for the report.
Backport of r13196 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-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 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<author_id>\d+)/$', author_detail),**
+ **(r'^authors/(?P<author_id>\\d+)/$', author_detail),**
)
Then we'd write our wrapper function::