Ticket #13329: 13329_escaping.diff

File 13329_escaping.diff, 456 bytes (added by Gabriel Hurley, 14 years ago)

fixes unescaped backslash

  • docs/topics/generic-views.txt

     
    453453
    454454    urlpatterns = patterns('',
    455455        #...
    456         **(r'^authors/(?P<author_id>\d+)/$', author_detail),**
     456        **(r'^authors/(?P<author_id>\\d+)/$', author_detail),**
    457457    )
    458458
    459459Then we'd write our wrapper function::
Back to Top