소스 검색

Fixed #13329 -- Corrected markup problem with URL pattern in generic views docs. Thanks to LaundroMat for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@13196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Russell Keith-Magee 15 년 전
부모
커밋
95fea01041
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/topics/generic-views.txt

+ 1 - 1
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::