<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -227,7 +227,7 @@ You can use the ``url()`` function, instead of a tuple, as an argument to
 optional extra arguments dictionary. For example::
 
     urlpatterns = patterns('',
-        url(r'/index/$', index_view, name=&quot;main-view&quot;),
+        url(r'^index/$', index_view, name=&quot;main-view&quot;),
         ...
     )
 
@@ -539,8 +539,8 @@ your URLconf. For example, these two URL patterns both point to the ``archive``
 view::
 
     urlpatterns = patterns('',
-        (r'/archive/(\d{4})/$', archive),
-        (r'/archive-summary/(\d{4})/$', archive, {'summary': True}),
+        (r'^archive/(\d{4})/$', archive),
+        (r'^archive-summary/(\d{4})/$', archive, {'summary': True}),
     )
 
 This is completely valid, but it leads to problems when you try to do reverse
@@ -557,8 +557,8 @@ matching.
 Here's the above example, rewritten to use named URL patterns::
 
     urlpatterns = patterns('',
-        url(r'/archive/(\d{4})/$', archive, name=&quot;full-archive&quot;),
-        url(r'/archive-summary/(\d{4})/$', archive, {'summary': True}, &quot;arch-summary&quot;),
+        url(r'^archive/(\d{4})/$', archive, name=&quot;full-archive&quot;),
+        url(r'^archive-summary/(\d{4})/$', archive, {'summary': True}, &quot;arch-summary&quot;),
     )
 
 With these names in place (``full-archive`` and ``arch-summary``), you can</diff>
      <filename>docs/topics/http/urls.txt</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a752da0a36b01cb59bc9d2e27d32d15d9730de5c</id>
    </parent>
  </parents>
  <author>
    <name>mtredinnick</name>
    <email>mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37</email>
  </author>
  <url>http://github.com/dcramer/django-compositepks/commit/e7615f15a70f05931fbc2647aa0a6d5746dde20d</url>
  <id>e7615f15a70f05931fbc2647aa0a6d5746dde20d</id>
  <committed-date>2008-11-16T01:35:30-08:00</committed-date>
  <authored-date>2008-11-16T01:35:30-08:00</authored-date>
  <message>Fixed #9472 -- Fixed a couple of URL patterns to be more consistent (and remove
a misleading initial slash). Thanks, daveyjoe.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9471 bcc190cf-cafb-0310-a4f2-bffc1f526a37</message>
  <tree>23340dd903bb63b4655df65435dd35223d277dc6</tree>
  <committer>
    <name>mtredinnick</name>
    <email>mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37</email>
  </committer>
</commit>
