Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #16910 -- Misleading regex in urlpatterns inclusion docs.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 642620897db5f29f6081cd5b112b32f42e8fe13e 1 parent 1631e13
@PaulMcMillan PaulMcMillan authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/topics/http/urls.txt
4 docs/topics/http/urls.txt
@@ -465,8 +465,8 @@ directly the pattern list as returned by `patterns`_ instead. For example::
from django.conf.urls import patterns, url, include
extra_patterns = patterns('',
- url(r'reports/(?P<id>\d+)/$', '', name='credit-reports'),
- url(r'charge/$', 'credit.views.charge', name='credit-charge'),
+ url(r'^reports/(?P<id>\d+)/$', '', name='credit-reports'),
+ url(r'^charge/$', 'credit.views.charge', name='credit-charge'),
urlpatterns = patterns('',
Please sign in to comment.
Something went wrong with that request. Please try again.