1
0
mirror of https://github.com/django/django.git synced 2024-12-23 09:36:06 +00:00

Edited docs/url_dispatch.txt changes from [5362]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@5411 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-06-01 16:59:56 +00:00
parent 4cda993213
commit 956056f7b5

View File

@ -564,11 +564,11 @@ code, Django provides the ``django.core.urlresolvers.reverse()``. The
reverse(viewname, urlconf=None, args=None, kwargs=None) reverse(viewname, urlconf=None, args=None, kwargs=None)
The view name is either the function name (either a function reference, or the ``viewname`` is either the function name (either a function reference, or the
string version of the name, if you used that form in ``urlpatterns``) or the string version of the name, if you used that form in ``urlpatterns``) or the
`URL pattern name`_. Normally you will not need to worry about the `URL pattern name`_. Normally, you won't need to worry about the
``urlconf`` parameter and will only pass in the positional and keyword ``urlconf`` parameter and will only pass in the positional and keyword
arguments to use in the url matching. For example:: arguments to use in the URL matching. For example::
from django.core.urlresolvers import reverse from django.core.urlresolvers import reverse