[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
This commit is contained in:
parent
6c069d2a71
commit
f1eb098d96
|
@ -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"),
|
||||
|
|
Loading…
Reference in New Issue