From a084a07ebe8357c5a05ad03c478c89c2e358a398 Mon Sep 17 00:00:00 2001 From: Paul McMillan Date: Thu, 22 Sep 2011 23:02:57 +0000 Subject: [PATCH] [1.3.X] Fixed #16910 -- Misleading urlpatterns docs regex example. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16892 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/http/urls.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/http/urls.txt b/docs/topics/http/urls.txt index a5cf21bb65..e72c8dd4d8 100644 --- a/docs/topics/http/urls.txt +++ b/docs/topics/http/urls.txt @@ -436,8 +436,8 @@ directly the pattern list as returned by `patterns`_ instead. For example:: from django.conf.urls.defaults import * extra_patterns = patterns('', - url(r'reports/(?P\d+)/$', 'credit.views.report', name='credit-reports'), - url(r'charge/$', 'credit.views.charge', name='credit-charge'), + url(r'^reports/(?P\d+)/$', 'credit.views.report', name='credit-reports'), + url(r'^charge/$', 'credit.views.charge', name='credit-charge'), ) urlpatterns = patterns('',