Commit 8a5f2ee9 authored by Karen Tracey's avatar Karen Tracey
Browse files

Fixed #9495 -- Corrected typo in urls doc. Thanks seemant.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9328 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 83af0b8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -554,7 +554,7 @@ give a name to a URL pattern in order to distinguish it from other patterns
using the same view and parameters. Then, you can use this name in reverse URL
matching.

Here's the above example, rewritten to used named URL patterns::
Here's the above example, rewritten to use named URL patterns::

    urlpatterns = patterns('',
        url(r'/archive/(\d{4})/$', archive, name="full-archive"),