[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
This commit is contained in:
parent
b66d597cb4
commit
45c409f3fd
|
@ -453,7 +453,7 @@ custom view:
|
||||||
|
|
||||||
urlpatterns = patterns('',
|
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::
|
Then we'd write our wrapper function::
|
||||||
|
|
Loading…
Reference in New Issue