Commit f1eb098d authored by Karen Tracey's avatar Karen Tracey
Browse files

[1.0.X] Fixed #9495 -- Corrected typo in urls doc. Thanks seemant.

[9328] from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9329 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 6c069d2a
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"),