mirror of
https://github.com/django/django.git
synced 2025-02-23 07:55:07 +00:00
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
This commit is contained in:
parent
83af0b8ff3
commit
8a5f2ee912
@ -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…
x
Reference in New Issue
Block a user